Whamcloud - gitweb
LU-17284 mdt: revalidate object for migration 87/53087/6
authorAlex Zhuravlev <bzzz@whamcloud.com>
Sat, 11 Nov 2023 12:21:48 +0000 (15:21 +0300)
committerOleg Drokin <green@whamcloud.com>
Tue, 23 Jan 2024 05:32:10 +0000 (05:32 +0000)
commite1a53a32637b0f2269009450f123cc5d419366c7
tree0d684b6eca1fa9ba13fc421042ef6a48f9d9db6e
parent7bb1e211d217d5a82ac2d5e4edad5ae018090761
LU-17284 mdt: revalidate object for migration

if the source object is remote, then we should revlidate it
once the object's ldlm lock is granted. otherwise we can't
use the object's attributes:
lu_object_attr())
ASSERTION( ((o)->lo_header->loh_attr & LOHA_EXISTS) != 0

Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: I9896cdd011f858091ac68b50b74e2f1f027f7331
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53087
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/mdt/mdt_reint.c