Hi all, This series cleans up the rmap intent code before we start adding support for realtime devices. Similar to previous intent cleanup patchsets, we start transforming the tracepoints so that the data extraction are done inside the tracepoint code, and then we start passing the intent itself to the _finish_one function. This reduces the boxing and unboxing of parameters. 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=rmap-intent-cleanups xfsprogs git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=rmap-intent-cleanups --- libxfs/defer_item.c | 62 +++++++----- libxfs/defer_item.h | 4 + libxfs/xfs_btree.c | 4 + libxfs/xfs_btree.h | 2 libxfs/xfs_rmap.c | 268 ++++++++++++++++++--------------------------------- libxfs/xfs_rmap.h | 15 ++- 6 files changed, 150 insertions(+), 205 deletions(-)