Whamcloud - gitweb
LU-16796 target: Change struct top_multiple_thandle to use kref 22/51922/2
authorArshad Hussain <arshad.hussain@aeoncomputing.com>
Thu, 10 Aug 2023 12:30:46 +0000 (18:00 +0530)
committerOleg Drokin <green@whamcloud.com>
Thu, 24 Aug 2023 04:35:59 +0000 (04:35 +0000)
commit99fb9376388e04d4fe713766e03dbb26f20bdc52
tree69a55a364b0aa0e8ce8aa0e2f7309390a2e2123e
parent56098483c980a8255c75f34002f6a2ee9ee8b41d
LU-16796 target: Change struct top_multiple_thandle to use kref

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

Signed-off-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Change-Id: I5892e5ab14ea6570645e6395af6d8a0d2c325398
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51922
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_update.h
lustre/target/update_trans.c