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>
Fri, 24 May 2024 11:03:20 +0000 (21:03 +1000)
commit606f1f158f7e475184452ee4e4e332654c4d770b
tree95ba7ad6f2bebdfe044a4da33b820aac132499d1
parentb69f4d92f26dfce3b570ba5504ebb31a11a30e21
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