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 code, I strongly recommend pulling from my git trees, which are linked below. This has been running on the djcloud for months with no problems. 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 --- libxfs/defer_item.c | 75 ++++++++++++++++++++++++++++++++++++++++++++++ libxfs/xfs_alloc.c | 16 ++++++++-- libxfs/xfs_alloc.h | 17 +++++++++- libxfs/xfs_defer.c | 6 ++++ libxfs/xfs_defer.h | 1 + libxfs/xfs_log_format.h | 6 +++- libxfs/xfs_rtbitmap.c | 4 ++ logprint/log_misc.c | 2 + logprint/log_print_all.c | 8 +++++ logprint/log_redo.c | 57 ++++++++++++++++++++++++++--------- 10 files changed, 172 insertions(+), 20 deletions(-)