[Cluster-devel] [GFS2 2/3] gfs2: allow quota_check and inplace_reserve to return available blocks

2015-03-18 Thread Abhi Das
struct gfs2_alloc_parms is passed to gfs2_quota_check() and gfs2_inplace_reserve() with ap-target containing the number of blocks being requested for allocation in the current operation. We add a new field to struct gfs2_alloc_parms called 'allowed'. gfs2_quota_check() and gfs2_inplace_reserve()

[Cluster-devel] [GFS2 2/3] gfs2: allow quota_check and inplace_reserve to return available blocks

2015-02-24 Thread Abhi Das
struct gfs2_alloc_parms is passed to gfs2_quota_check() and gfs2_inplace_reserve() with ap-target containing the number of blocks being requested for allocation in the current operation. We add a new field to struct gfs2_alloc_parms called 'allowed'. gfs2_quota_check() and gfs2_inplace_reserve()