Whamcloud - gitweb
e2fsck: move some fixes out of parallel pthreads
authorWang Shilong <wshilong@ddn.com>
Sat, 7 Mar 2020 14:00:45 +0000 (22:00 +0800)
committerLi Dongyang <dongyangli@ddn.com>
Thu, 8 Apr 2021 00:54:41 +0000 (10:54 +1000)
commit513c9fba1fd004916be1eba5b48823743598bcf6
treeb4e2870e1f7b830c848bbf58ff4ae3ca4b2bd93a
parent39b4fd81575465e80b8e72f0c3ca3be95aae7bb6
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.

E2fsprogs-commit: 6b1d459bf6018eea7ff0a0ae6b555276718dcda3

Change-Id: Ibdbaed3d218623daa0baec31837037d773799262
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Saranya Muruganandam <saranyamohan@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
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