Hi all, Realtime reverse mapping (and beyond that, realtime reflink) needs to be able to defer file mapping and extent freeing work in much the same manner as is required on the data volume. Make the extent freeing log items operate on rt extents in preparation for realtime rmap. If you're going to start using this mess, you probably ought to just pull from my git trees, which are linked below. This is an extraordinary way to destroy everything. Enjoy! Comments and questions are, as always, welcome. --D kernel git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=realtime-extfree-intents xfsprogs git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=realtime-extfree-intents --- fs/xfs/libxfs/xfs_alloc.c | 35 ++++++++++++++++---- fs/xfs/libxfs/xfs_alloc.h | 17 ++++++++-- fs/xfs/libxfs/xfs_defer.c | 1 + fs/xfs/libxfs/xfs_defer.h | 1 + fs/xfs/libxfs/xfs_log_format.h | 7 ++++ fs/xfs/libxfs/xfs_rtbitmap.c | 4 ++ fs/xfs/xfs_extfree_item.c | 71 ++++++++++++++++++++++++++++++++++++++-- 7 files changed, 123 insertions(+), 13 deletions(-)