Whamcloud - gitweb
LU-17010 lfsck: don't create trans in dryrun mode
authorHongchao Zhang <hongchao@whamcloud.com>
Fri, 21 Jul 2023 08:01:26 +0000 (16:01 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 21 Aug 2023 08:42:14 +0000 (08:42 +0000)
commited9ce86ceda2a987b34a5bc9993dcde325e8004f
tree21f12e99d7b4eac59ea659707cdc256b119bb9b3
parent00797e94f63a8dcad56cd115b205d944a5eb519a
LU-17010 lfsck: don't create trans in dryrun mode

In LFSCK, the LFSCK transaction should not be created in
dryrun mode, which is related to the following patch,

Lustre-change: https://review.whamcloud.com/51849
Lustre-commit: 441902fa3d445791a8c54026c130ab357f7469d7

Fixes: 0c1ae1cb9c19 ("LU-13124 scrub: check for multiple linked file")
Change-Id: Id543bc3c0e300c1cc14b670d724ebcacac3bf71b
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/51975
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/lfsck/lfsck_layout.c
lustre/lfsck/lfsck_lib.c
lustre/lfsck/lfsck_namespace.c
lustre/lfsck/lfsck_striped_dir.c