Whamcloud - gitweb
LU-18231 obd: change obd_recovering into OBDF_RECOVERING 15/56415/5
authorRonnie Sahlberg <rsahlberg@whamcloud.com>
Thu, 19 Sep 2024 03:45:24 +0000 (23:45 -0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 9 Dec 2024 06:11:30 +0000 (06:11 +0000)
commit95014d930c3af872d31596b0bc0c2d7ad82ce920
treef3fe220ec3704a6ea1e68870a6de5a0d758d158c
parentfcc88642c72a9c50e4aa6125a014646418e4a590
LU-18231 obd: change obd_recovering into OBDF_RECOVERING

Change the use of the odb_recovering 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: I031da297c4c6d0325851ddeac0768ea21d88e25f
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56415
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>
19 files changed:
lustre/include/obd.h
lustre/ldlm/ldlm_lib.c
lustre/ldlm/ldlm_lock.c
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_request.c
lustre/mdt/mdt_handler.c
lustre/mgs/mgs_barrier.c
lustre/obdclass/genops.c
lustre/obdclass/lprocfs_status_server.c
lustre/ofd/ofd_dev.c
lustre/ofd/ofd_io.c
lustre/osp/osp_internal.h
lustre/ost/ost_handler.c
lustre/ptlrpc/niobuf.c
lustre/ptlrpc/nodemap_member.c
lustre/ptlrpc/service.c
lustre/target/tgt_grant.c
lustre/target/tgt_handler.c
lustre/target/update_trans.c