Whamcloud - gitweb
LU-13717 sec: support encrypted files handling in pfsck mode
authorSebastien Buisson <sbuisson@ddn.com>
Tue, 19 Oct 2021 11:02:12 +0000 (13:02 +0200)
committerLi Dongyang <dongyangli@ddn.com>
Fri, 28 Apr 2023 00:47:13 +0000 (10:47 +1000)
commitef1a96e19d2137272efe4605a1ccc4f41d191147
treed6905d19ebc8add5b8631b4ccd7a2e668b22bb93
parentfd125d8cf90a7eacf698387b3297d9e4f879a00b
LU-13717 sec: support encrypted files handling in pfsck mode

e2fsck needs to be improved in order to support encrypted files
handling in parallel fsck mode. The e2fsck_merge_encrypted_info()
function is added to merge encrypted inodes info collected from
different threads in pass1, so that it can be used in pass2.

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: Iaf495f399e38e3ca7914b92059607d4babc1ad44
Reviewed-on: https://review.whamcloud.com/45289
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
e2fsck/e2fsck.h
e2fsck/encrypted_files.c
e2fsck/pass1.c