Whamcloud - gitweb
LU-8465 e2fsck: copy bitmaps when copying context 12/35712/12
authorLi Xi <lixi@ddn.com>
Wed, 7 Aug 2019 08:54:41 +0000 (16:54 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 25 Sep 2020 05:41:46 +0000 (05:41 +0000)
commit87444962ca6ef43f3f2fca6a5f8c3750961f1237
tree13749b1b440ec1093de66d2cb6cff46f797fd37c
parent18a7cf47f057c152ba76f5bf82b0ff4504ab116a
LU-8465 e2fsck: copy bitmaps when copying context

This patch copies bitmap when the copying context. In the
multi-thread fsck, each thread use different bitmap that copied
from the glboal bitmap. And Bitmaps from multiple threads will
be merged into a global one after the pass1 finishes.

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