lkml.org 
[lkml]   [2015]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] zpool: add zpool_has_pool()
On Fri, May 29, 2015 at 5:37 PM, Andrew Morton
<akpm@linux-foundation.org> wrote:
> On Fri, 29 May 2015 11:12:18 -0400 Dan Streetman <ddstreet@ieee.org> wrote:
>
>> Add zpool_has_pool() function, indicating if the specified type of zpool
>> is available (i.e. zsmalloc or zbud). This allows checking if a pool is
>> available, without actually trying to allocate it, similar to
>> crypto_has_alg().
>>
>> ...
>>
>> +bool zpool_has_pool(char *type);
>
> This has no callers.

Yes, I have a few patches coming up for zswap, that use this. I was
trying to get the simple patches in first, but I can include this in
the patch series that uses it.


\
 
 \ /
  Last update: 2015-06-01 13:41    [W:0.048 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site