Whamcloud - gitweb
LU-16796 ldlm: Change struct ldlm_resource to use refcount_t 16/53416/4
authorArshad Hussain <arshad.hussain@aeoncomputing.com>
Tue, 12 Dec 2023 07:16:19 +0000 (12:46 +0530)
committerOleg Drokin <green@whamcloud.com>
Sun, 4 Feb 2024 08:29:48 +0000 (08:29 +0000)
commit7375cd6da6329e4d4a4bfb600d4fc9552b3c4c6f
tree703aa5e9a1d8066f53cd5535656d83522520e414
parent8423644c062ee58cbe76e53ce032b0d295742026
LU-16796 ldlm: Change struct ldlm_resource to use refcount_t

This patch changes struct ldlm_resource and
struct nrs_tbf_client to use refcount_t instead of atomic_t

This patch also only changes spaces to tabs which were close
to lines of code being changed.

Signed-off-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Change-Id: Ic15f27bc6281725f00bddc465668f81291aad6ec
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53416
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/include/libcfs/libcfs_hash.h
lustre/include/lustre_dlm.h
lustre/include/lustre_nrs_tbf.h
lustre/ldlm/ldlm_lock.c
lustre/ldlm/ldlm_resource.c
lustre/ptlrpc/nrs_tbf.c