Hi all, Congratulations! You have made it to the final patchset of the main online fsck feature! This last series improves the performance of xfile-backed btrees by teaching the buffer cache to directly map pages from the xfile. It also speeds up xfarray operations substantially by implementing a small page cache to avoid repeated kmap/kunmap calls. Collectively, these can reduce the runtime of online repair functions by twenty percent or so. 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=xfile-page-caching xfsprogs git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=xfile-page-caching --- fs/xfs/libxfs/xfs_btree_mem.h | 6 + fs/xfs/libxfs/xfs_rmap_btree.c | 1 fs/xfs/scrub/rcbag_btree.c | 1 fs/xfs/scrub/trace.h | 44 +++++++ fs/xfs/scrub/xfbtree.c | 23 +++- fs/xfs/scrub/xfile.c | 254 +++++++++++++++++++++++----------------- fs/xfs/scrub/xfile.h | 15 ++ fs/xfs/xfs_buf.c | 229 +++++++++++++++++++++++++++++++++++- fs/xfs/xfs_buf.h | 10 ++ 9 files changed, 467 insertions(+), 116 deletions(-)