commit | 5be3f1a35d868c915bb4b1e63cf263865dcddc3c | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <djwong@kernel.org> | Fri Jul 15 13:55:51 2022 -0700 |
committer | Darrick J. Wong <djwong@kernel.org> | Fri Jan 05 22:55:34 2024 -0800 |
tree | 3bcf76050f8ab9755fea95068d4a194e80efd62e | |
parent | 115c6672d9cdbf8ad78118603fd30e30cc850c8b [diff] |
xfs_repair: bulk load records into new btree blocks Amortize the cost of indirect calls further by loading a batch of records into a new btree block instead of one record per ->get_record call. On a rmap btree with 3.9 million records, this reduces the runtime of xfs_btree_bload by 3% for xfsprogs. For the upcoming online repair functionality, this will reduce runtime by 6% when spectre mitigations are enabled in the kernel. Signed-off-by: Darrick J. Wong <djwong@kernel.org>