Whamcloud - gitweb
LU-18231 obd: change obd_set_up into OBDF_SET_UP 14/56414/5
authorRonnie Sahlberg <rsahlberg@whamcloud.com>
Thu, 19 Sep 2024 02:48:46 +0000 (22:48 -0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 9 Dec 2024 06:11:14 +0000 (06:11 +0000)
commitfcc88642c72a9c50e4aa6125a014646418e4a590
tree5fadf4b9d8b8b64f38ec3e1588a0ffcdfa25e640
parentd32597c73da5485d236bd076271af8b03e0b9973
LU-18231 obd: change obd_set_up into OBDF_SET_UP

Change the use of the odb_set_up 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: I6b2b691e7cac733788fe239f9fc8ca5f8e749891
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56414
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>
21 files changed:
lustre/include/obd.h
lustre/include/obd_class.h
lustre/kunit/llog_test.c
lustre/ldlm/ldlm_lib.c
lustre/llite/lcommon_misc.c
lustre/lmv/lmv_obd.c
lustre/lod/lod_dev.c
lustre/lov/lov_dev.c
lustre/lov/lov_obd.c
lustre/mdd/mdd_device.c
lustre/obdclass/class_obd.c
lustre/obdclass/genops.c
lustre/obdclass/kernelcomm.c
lustre/obdclass/llog_obd.c
lustre/obdclass/obd_config.c
lustre/obdclass/obd_sysfs.c
lustre/obdecho/echo_client.c
lustre/osp/osp_dev.c
lustre/ptlrpc/gss/gss_cli_upcall.c
lustre/ptlrpc/gss/sec_gss.c
lustre/target/tgt_mount.c