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)
committerLi Dongyang <dongyangli@ddn.com>
Tue, 14 Jan 2025 04:14:41 +0000 (15:14 +1100)
commit5e64269ec2ffa772935b18584f33feb46bb7acda
tree8eaf49b63d88c9d5630b2dce5eacb03e39147209
parent3248af06ceb3c8a903c899c23a81c07392cd0dc1
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