Whamcloud - gitweb
LU-14119 osd-zfs: enable LUDA_VERIFY
authorLai Siyao <lai.siyao@whamcloud.com>
Tue, 19 Jan 2021 13:37:50 +0000 (21:37 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 15 Jul 2021 03:03:27 +0000 (03:03 +0000)
commitf7ac16daa8fc3f14dd7851323ace567c6e7c6383
tree7699102af4ca0220790bb2ea4e01df9dd1398df9
parent05d5d255bbe34d6e8e4b7ad0a93caae62446476a
LU-14119 osd-zfs: enable LUDA_VERIFY

In osd_dir_it_rec(), if dirent is successfully got, and the FID in
dirent is sane, it returns right away, however if
LUDA_VERIFY|LUDA_VERIFY_DRYRUN is set, the FID in dirent should be
compared with the FID in LMA, and replaced with the latter one if
they are differet.

Lustre-change: https://review.whamcloud.com/41274
Lustre-commit: f5136e81957e4b67ae6ed7764d378b817fac5ee2

Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: I35e2a4d4606044cd37cc5847cffc577740918988
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/44230
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/osd-zfs/osd_index.c