Hi all, this series optimizes how we handle unmapping the old data fork extents when finishing COW I/O. To get there I also did a bunch of cleanups for helpers called by this code. Note that this conflicts with both Darrick's repair work and my RT delalloc series, so it will need a rebase after those are merged. Diffstat: libxfs/xfs_attr.c | 5 - libxfs/xfs_bmap.c | 21 ++----- libxfs/xfs_bmap.h | 2 libxfs/xfs_inode_fork.c | 62 +++++++++----------- libxfs/xfs_inode_fork.h | 4 - xfs_aops.c | 6 -- xfs_bmap_item.c | 4 - xfs_bmap_util.c | 33 ++--------- xfs_bmap_util.h | 2 xfs_dquot.c | 5 - xfs_iomap.c | 13 +--- xfs_quota.h | 21 ++----- xfs_reflink.c | 144 ++++++++++++++++++++++++------------------------ xfs_rtalloc.c | 5 - 14 files changed, 137 insertions(+), 190 deletions(-)