Whamcloud - gitweb
LU-8465 e2fsck: fix readahead for pass1 without pfsck 66/40066/4
authorWang Shilong <wshilong@ddn.com>
Sun, 27 Sep 2020 13:25:07 +0000 (21:25 +0800)
committerWang Shilong <wshilong@whamcloud.com>
Mon, 28 Sep 2020 13:05:38 +0000 (13:05 +0000)
commitb4d8cf38c59cd4e85d3816368a2434891e16e84d
treed8605551b2982132f64414ab030691af90aa89e7
parent3b4ff5f207054b6f5507a986ad8522a08c2d8228
LU-8465 e2fsck: fix readahead for pass1 without pfsck

If admin try fsck without -m option, codes try old
behavior, thread information won't be inited either.
@et_group_end is 0 thus readahead for pass1 will be
totally disabled.

With the patch applied, we could get same performance
number without pfsck as before.

Signed-off-by: Wang Shilong <wshilong@ddn.com>
Change-Id: I3f6158937fb83490243f34693f631a2d7a8f9e4c
Reviewed-on: https://review.whamcloud.com/40066
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
e2fsck/pass1.c