Whamcloud - gitweb
LU-13195 osp: track destroyed OSP object
authorAlex Zhuravlev <bzzz@whamcloud.com>
Mon, 27 Apr 2020 04:52:01 +0000 (07:52 +0300)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 1 Feb 2022 08:27:50 +0000 (08:27 +0000)
commit705ab2859024504256a732f63c8979460a97d163
tree7fc5620a2ee63d435fe92af7a3e349659f793135
parent7946f91466adbd0f56092b9d6fb9c520eb93f716
LU-13195 osp: track destroyed OSP object

retain destroyed OSP objects in memory to prevent races when
in-flight destroyed is passed by read or attr_get leading to
incorrect local states.
also block operations to such an object with -ENOENT.

Lustre-change: https://review.whamcloud.com/38385
Lustre-commit: f5a8f1bcf5563f96cf6ba0e5de5a99a1ea524cc6

Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: Ied59f1a95458e8890249b92d4efc38e258a7e3cf
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alexander Boyko <alexander.boyko@hpe.com>
Reviewed-on: https://review.whamcloud.com/46338
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/osp/osp_internal.h
lustre/osp/osp_md_object.c
lustre/osp/osp_object.c