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, 19 Sep 2022 23:16:08 +0000 (17:16 -0600)
commit893efb19f5dfe7d1dec2e0f1f52717e3e624bb7c
tree35ae005bd6844abd36fd1a10afb77f93eabddcdc
parent6d42e3aeb3a82c29cc4529372878ab0867cd6391
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