[PATCH v5 08/11] xfs: update the finobt on inode free

Dave Chinner david at fromorbit.com
Thu Apr 24 00:47:50 CDT 2014


On Thu, Apr 10, 2014 at 12:08:33PM -0400, Brian Foster wrote:
> An inode free operation can have several effects on the finobt. If
> all inodes have been freed and the chunk deallocated, we remove the
> finobt record. If the inode chunk was previously full, we must
> insert a new record based on the existing inobt record. Otherwise,
> we modify the record in place.
> 
> Create the xfs_difree_finobt() function to identify the potential
> scenarios and update the finobt appropriately.
> 
> Signed-off-by: Brian Foster <bfoster at redhat.com>

No problems there that I can see.

Reviewed-by: Dave Chinner <dchinner at redhat.com>

-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list