Whamcloud - gitweb
LU-18231 obd: change obd_attach into ODBF_ATTACH 13/56413/5
authorRonnie Sahlberg <rsahlberg@whamcloud.com>
Thu, 19 Sep 2024 02:38:43 +0000 (22:38 -0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 9 Dec 2024 06:10:59 +0000 (06:10 +0000)
commitd32597c73da5485d236bd076271af8b03e0b9973
treebe67ce48c93018653491f7ee9329c42279e8e8e7
parent73d0dcc6cbf5ff80ebe8634091f9d887d7b94623
LU-18231 obd: change obd_attach into ODBF_ATTACH

Change the use of the odb_attach bitfield into a bit in
the ofd_flags bitmap and use atomic bit set/clear/test
operations on it.
No logical changes to the code and no changes to locking.

Test-Parameters: trivial
Signed-off-by: Ronnie Sahlberg <rsahlberg@whamcloud.com>
Change-Id: I2f360f6074e2078fa20b770b5dc2abc173766c9f
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56413
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/include/obd.h
lustre/kunit/llog_test.c
lustre/obdclass/class_obd.c
lustre/obdclass/genops.c
lustre/obdclass/kernelcomm.c
lustre/obdclass/obd_config.c
lustre/obdclass/obd_sysfs.c
lustre/obdecho/echo_client.c