Whamcloud - gitweb
LU-16796 mdt: Change struct cdt_agent_record_loc to use kref 53/52153/3
authorArshad Hussain <arshad.hussain@aeoncomputing.com>
Tue, 29 Aug 2023 07:41:51 +0000 (13:11 +0530)
committerOleg Drokin <green@whamcloud.com>
Wed, 13 Sep 2023 04:06:34 +0000 (04:06 +0000)
commita7b8675ec68687f97fc9d7b486c2e3481d579a4e
tree58767ccf730d58b0f4053f409ece2034389b586a
parent79f823bd40ee97a5846d828efce1080dc04a6057
LU-16796 mdt: Change struct cdt_agent_record_loc to use kref

This patch changes struct cdt_agent_record_loc to use
kref(refcount_t) instead of atomic_t

Signed-off-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Change-Id: I99141b00b4cfc7b4b46a87462b9ce21735bb0e7d
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52153
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdt/mdt_hsm_cdt_actions.c