Re: [PATCH] zpool: add zpool_has_pool()

2015-06-01 Thread Dan Streetman
On Fri, May 29, 2015 at 5:37 PM, Andrew Morton wrote: > On Fri, 29 May 2015 11:12:18 -0400 Dan Streetman 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

Re: [PATCH] zpool: add zpool_has_pool()

2015-06-01 Thread Dan Streetman
On Fri, May 29, 2015 at 5:37 PM, Andrew Morton a...@linux-foundation.org wrote: On Fri, 29 May 2015 11:12:18 -0400 Dan Streetman ddstr...@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

Re: [PATCH] zpool: add zpool_has_pool()

2015-05-29 Thread Andrew Morton
On Fri, 29 May 2015 11:12:18 -0400 Dan Streetman 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(). > >

[PATCH] zpool: add zpool_has_pool()

2015-05-29 Thread Dan Streetman
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(). Signed-off-by: Dan Streetman --- include/linux/zpool.h | 2 ++

[PATCH] zpool: add zpool_has_pool()

2015-05-29 Thread Dan Streetman
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(). Signed-off-by: Dan Streetman ddstr...@ieee.org ---

Re: [PATCH] zpool: add zpool_has_pool()

2015-05-29 Thread Andrew Morton
On Fri, 29 May 2015 11:12:18 -0400 Dan Streetman ddstr...@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