Whamcloud - gitweb
e2fsck: make default smallest RA size to 1M
authorWang Shilong <wshilong@ddn.com>
Tue, 15 Sep 2020 07:06:11 +0000 (15:06 +0800)
committerLi Dongyang <dongyangli@ddn.com>
Fri, 28 Apr 2023 00:47:13 +0000 (10:47 +1000)
commitdf571e2e4c932a67c259462ebf7c0444eb44567e
tree3410bd35fbdebb9a868cf784831a31e61a9279e0
parent29f0e91840931f3fede70e825c78f4d8871b1393
e2fsck: make default smallest RA size to 1M

If we have a smaller inodes per group, default ra size could
be very small(etc 128KiB), this hurts performances.

Tune above 128K to 1M, i see pass1 time drop down from
677.12 seconds to 246 secons with 32 threads.

E2fsprogs-commit: 9226b3264b74044013f4933280b1989c33be42f3

Change-Id: Ia503b4f73dc8f3d5e6be705c7311bdacc5b874a9
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/readahead.c