Whamcloud - gitweb
LU-13170 osd: positive lookup shouldn't return an error 22/37322/8
authorAlex Zhuravlev <bzzz@whamcloud.com>
Fri, 24 Jan 2020 12:12:54 +0000 (15:12 +0300)
committerOleg Drokin <green@whamcloud.com>
Wed, 9 Dec 2020 07:47:56 +0000 (07:47 +0000)
commit7a18fe124c215ad7ab1806abd62bea9c7b9592c6
tree8e6ef861241afb7a89209504f2a85f4c99fdd46d
parente5c8f6670fbeea9ec8c6092dfa4369508da54485
LU-13170 osd: positive lookup shouldn't return an error

because of stale OI, otherwise LFSCK has no chance to
fix direntry. lookup should initiate OI scrubber and
give it a hint about FID->dnode mapping.

This should fix sanity-lfsck/23b failing with ZFS often.

Test-Parameters: fstype=zfs testlist=sanity-lfsck env=ONLY=23b,ONLY_REPEAT=200
Change-Id: Iea826de9995e34939eff2d67a831deb6b192bd4d
Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/37322
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
Reviewed-by: Hongchao Zhang <hongchao@whamcloud.com>
lustre/osd-zfs/osd_index.c