Whamcloud - gitweb
LU-16796 mdt: Change struct cdt_agent_req to use kref 48/52148/3
authorArshad Hussain <arshad.hussain@aeoncomputing.com>
Tue, 29 Aug 2023 07:00:35 +0000 (12:30 +0530)
committerOleg Drokin <green@whamcloud.com>
Wed, 6 Sep 2023 06:23:30 +0000 (06:23 +0000)
commit9e597a09510c2f7bbc98ab0ce2aca2fe21a9ab45
tree9cadd47911874fd44e249784c45f8ce8f7134f88
parentb8489a6c54b3ed57d148784fb679de8edac61c12
LU-16796 mdt: Change struct cdt_agent_req to use kref

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

Signed-off-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Change-Id: I0a99002504ff453b8b748391f08bd1020c545321
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52148
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Etienne AUJAMES <eaujames@ddn.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdt/mdt_hsm_cdt_requests.c
lustre/mdt/mdt_internal.h