Whamcloud - gitweb
LU-16796 ptlrpc: Change struct ls_device to use kref 11/51811/6
authorArshad Hussain <arshad.hussain@aeoncomputing.com>
Mon, 31 Jul 2023 04:27:00 +0000 (09:57 +0530)
committerOleg Drokin <green@whamcloud.com>
Thu, 24 Aug 2023 04:34:50 +0000 (04:34 +0000)
commit33bd9d4068c9d9b5f01b94346f0eaf976198c861
treee5a9402552569b0b6a2a2bc1d1f2947ec0d75305
parent993d27d9ecc86bd030ca788bf9249485b11cdf8a
LU-16796 ptlrpc: Change struct ls_device to use kref

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

Signed-off-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Change-Id: Iba3965ef884ef65ab2d379ed389dfbea4ef8a453
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51811
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/obdclass/llog_osd.c
lustre/obdclass/local_storage.c
lustre/obdclass/local_storage.h