Re: [Cluster-devel] [GFS2 PATCH 3/4] gfs2: add new function gfs2_inpl_rsrv_ret_max_avl

2015-02-13 Thread Steven Whitehouse
Hi, Likewise here, if the available blocks was added to the allocation parms, then this would help to neaten up the code a bit. Otherwise all four patches look good to me, Steve. On 12/02/15 16:54, Abhi Das wrote: This is a variant of the existing gfs2_inplace_reserve() function. If the

[Cluster-devel] [GFS2 PATCH 3/4] gfs2: add new function gfs2_inpl_rsrv_ret_max_avl

2015-02-12 Thread Abhi Das
This is a variant of the existing gfs2_inplace_reserve() function. If the requested number of blocks are not available to be reserved from any of the rgrps, gfs2_inplace_reserve() return -ENOSPC. gfs2_inpl_rsrv_ret_max_val() will also return the maximum blocks available in an extra parameter