Whamcloud - gitweb
LU-8465 e2fsck: move some fixes out of parallel pthreads 56/37856/10
authorWang Shilong <wshilong@ddn.com>
Sat, 7 Mar 2020 14:00:45 +0000 (22:00 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 26 Sep 2020 04:48:42 +0000 (04:48 +0000)
commit1f55c479ba55fb95bab0cc564b7568a19e8e67d8
tree7b68e3e4c1d6ce2e2701a7f2594c31d14d372a45
parentaa67a29fe0ae62f6f15586e0ad159a12786bd252
LU-8465 e2fsck: move some fixes out of parallel pthreads

We could only use @found_map_block to find free blocks
after we have collectd all used blocks, so something like
handle_fs_bad_blocks(), ext2fs_create_resize_inode(),
e2fsck_pass1_dupblocks() really should be handled after
all threads has been finished.

Change-Id: I9b29782f4b055ee4cb52248a28381ed601891ebd
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-on: https://review.whamcloud.com/37856
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
e2fsck/e2fsck.h
e2fsck/pass1.c
e2fsck/util.c
tests/f_multithread/expect.1
tests/f_multithread_logfile/expect.1
tests/f_multithread_no/expect.1