Whamcloud - gitweb
e2fsck: fix readahead for pfsck of pass1
authorWang Shilong <wshilong@ddn.com>
Wed, 11 Mar 2020 12:48:00 +0000 (20:48 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 28 Mar 2022 22:13:09 +0000 (16:13 -0600)
commit3641f5061d323a8d73dba12efe6bc246f9e4e661
tree0bb25e904b8c17dd418f3df9a6e01533497c592b
parentcf6791b28ff2ab0f1e4c54da0c68f0c5c2916992
e2fsck: fix readahead for pfsck of pass1

Several improvments for this patch:

1) move readahead_kb detection to preparing phase.
2) inode readahead should be aware of thread block group
boundary.
3) make readahead_kb aware of multiple threads.

E2fsprogs-commit: 02618b8f69c1ed453b092476cbd0d735206c939d

Change-Id: I2f9d7b8ae5039c0551bb3994f1c7814af257cee5
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/pass1.c