Whamcloud - gitweb
LU-14958 kernel: use rhashtable for revoke records in jbd2
authorAlex Zhuravlev <bzzz@whamcloud.com>
Thu, 26 Aug 2021 16:52:27 +0000 (19:52 +0300)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 25 Apr 2022 23:53:56 +0000 (23:53 +0000)
commit632fb53f450e65a2fe6285beaaeeccf3a9a532a9
tree4f786f82a55306498dc5a4588a5c2432fdae8f47
parent837b48392ac419af3f94f83fb873a15ffbf3e998
LU-14958 kernel: use rhashtable for revoke records in jbd2

resizable hashtable should improve journal replay time when
the latter has got million of revoke records

before:
1048576 records - 95 seconds
2097152 records - 580 seconds

after:
1048576 records - 2 seconds
2097152 records - 3 seconds
4194304 records - 7 seconds

Lustre-change: https://review.whamcloud.com/45122
Lustre-commit: TBD (from cc2996585c489632fc8fb02ebf61d755a339361a)

Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: I9a9e3801223fa9e36cbf6d2ef5ddbad5dff3e19d
Reviewed-on: https://review.whamcloud.com/46371
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
14 files changed:
lustre/kernel_patches/patches/jbd2-revoke-rhashtable-rhel7.patch [new file with mode: 0644]
lustre/kernel_patches/patches/jbd2-revoke-rhashtable-rhel8.4.patch [new file with mode: 0644]
lustre/kernel_patches/series/3.10-rhel7.6.series
lustre/kernel_patches/series/3.10-rhel7.7.series
lustre/kernel_patches/series/3.10-rhel7.8.series
lustre/kernel_patches/series/3.10-rhel7.9.series
lustre/kernel_patches/series/4.14-rhel7.5.series
lustre/kernel_patches/series/4.14-rhel7.6.series
lustre/kernel_patches/series/4.18-rhel8.1.series
lustre/kernel_patches/series/4.18-rhel8.2.series
lustre/kernel_patches/series/4.18-rhel8.3.series
lustre/kernel_patches/series/4.18-rhel8.4.series
lustre/kernel_patches/series/4.18-rhel8.5.series
lustre/kernel_patches/series/4.18-rhel8.series