Whamcloud - gitweb
LU-18557 ldlm: save ldlm namespace ops for use 32/57432/3
authorAlex Zhuravlev <bzzz@whamcloud.com>
Sat, 14 Dec 2024 11:49:51 +0000 (14:49 +0300)
committerOleg Drokin <green@whamcloud.com>
Fri, 28 Feb 2025 08:12:09 +0000 (08:12 +0000)
commit2d3fe4cb512935fba94f78358d62ec561738c8fe
tree8dea51081a19710d21cc3718ea7c5b684c621970
parentf6bb1b38f0814c2f8cab103fe228820aadbf2ee9
LU-18557 ldlm: save ldlm namespace ops for use

save ldlm namespace ops for use as __ldlm_resource_putref_final() can
initiate namespace release in a separate thread which in turn will
invalidate the structure pointing to the namespace's ops.

Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: If3ddc032b21806046fede09d40a4df78d441138d
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57432
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alexey Lyashkov <alexey.lyashkov@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Mikhail Pershin <mpershin@whamcloud.com>
lustre/ldlm/ldlm_resource.c