Whamcloud - gitweb
LU-14126 e2fsck: update mmp block race 72/40572/2
authorWang Shilong <wshilong@ddn.com>
Sun, 8 Nov 2020 09:19:06 +0000 (17:19 +0800)
committerWang Shilong <wshilong@whamcloud.com>
Mon, 23 Nov 2020 02:31:36 +0000 (02:31 +0000)
commit23547cbe57df859f70836fc18b7e449b319f54da
tree668eb733feda159a199ededc70497837d1038d35
parent0b7bcc70a54425f53407fe7825caa4671b5bd082
LU-14126 e2fsck: update mmp block race

Update mmp block is only expected in one thread, @mmp_update_thread
is used to get/set active thread number, however this should
be set globally shared with different threads rather than be private
per thread.

Fixes: 7284939c57618 ("LU-8465 e2fsck: update mmp block in one thread")
Change-Id: Id3c4ed80003cf9caecb8814ac7b03fabeb83c8bd
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-on: https://review.whamcloud.com/40572
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Wang Shilong <wshilong@whamcloud.com>
e2fsck/pass1.c