]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: support removing extents from CoW fork
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 25 Oct 2016 01:38:27 +0000 (12:38 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 25 Oct 2016 01:38:27 +0000 (12:38 +1100)
commitd35205bac9f922c9548c5432240319d654ab7cfa
tree7ad781f5e3058ed37f657a96f046b75232097988
parent1277a5e09266fb116931e84271edf1933a3c34ad
xfs: support removing extents from CoW fork

Source kernel commit: 4862cfe825c0087c14452b362e708a35da675f5e

Create a helper method to remove extents from the CoW fork without
any of the side effects (rmapbt/bmbt updates) of the regular extent
deletion routine.  We'll eventually use this to clear out the CoW fork
during ioend processing.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxfs/xfs_bmap.c
libxfs/xfs_bmap.h