Whamcloud - gitweb
LU-16796 nodemap: Change nm_refcount to refcount 53/58453/2
authorJames Simmons <jsimmons@infradead.org>
Mon, 17 Mar 2025 19:45:03 +0000 (13:45 -0600)
committerOleg Drokin <green@whamcloud.com>
Wed, 26 Mar 2025 04:06:48 +0000 (04:06 +0000)
commit776f9430201d26af4e1167e8c5fea6f4012bc641
tree918369c0b4c8a4f04181620c07515dfcb3a99cac
parent36dced9600a0019260e2becee1e39e797c65d417
LU-16796 nodemap: Change nm_refcount to refcount

This patch changes struct lu_nodemap to use refcount_t instead
of atomic_t. Using refcount adds new functionally that we can
use with rhashtable which will be done in an follow on patch
for nodemaps.

Test-Parameters: trivial testlist=sanity-sec
Change-Id: I2651c24740ea43486398a200b76cf9eb29cdcdf7
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58453
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Marc Vef <mvef@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_nodemap.h
lustre/ptlrpc/nodemap_handler.c