Whamcloud - gitweb
LU-16796 obd: Change struct obd_device to use kref 79/52179/2
authorArshad Hussain <arshad.hussain@aeoncomputing.com>
Wed, 30 Aug 2023 09:39:58 +0000 (15:09 +0530)
committerOleg Drokin <green@whamcloud.com>
Wed, 13 Sep 2023 04:06:45 +0000 (04:06 +0000)
commitde1c549814cdf5b9989f29b754cb0f94860b1223
tree90cbe356ccc82812ac774e9a7c71d7e39513af03
parenta7b8675ec68687f97fc9d7b486c2e3481d579a4e
LU-16796 obd: Change struct obd_device to use kref

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

Signed-off-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Change-Id: Ia8539abb11357b41edd4cf532896d3bc1e66e92f
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52179
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: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/obd.h
lustre/lmv/lmv_obd.c
lustre/obdclass/class_obd.c
lustre/obdclass/genops.c
lustre/obdclass/kernelcomm.c
lustre/obdclass/obd_config.c
lustre/obdclass/obd_sysfs.c