Whamcloud - gitweb
LU-18231 obd: change obd_abort_recovery into OBDF_ABORT_RECOVERY 16/56416/5
authorRonnie Sahlberg <rsahlberg@whamcloud.com>
Thu, 19 Sep 2024 03:56:03 +0000 (23:56 -0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 9 Dec 2024 06:11:46 +0000 (06:11 +0000)
commitd0fc84cfa677c1b1cc93b0dd5c593c82d6efb304
tree492ee8c22749a8a7bde3971d53df4f2c16a5ea76
parent95014d930c3af872d31596b0bc0c2d7ad82ce920
LU-18231 obd: change obd_abort_recovery into OBDF_ABORT_RECOVERY

Change the use of the odb_abort_recovery 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: I1ff7f890a7ea67d2609ac3cb887a874e7ae6377b
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56416
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/include/obd_class.h
lustre/ldlm/ldlm_lib.c
lustre/mdt/mdt_handler.c
lustre/ofd/ofd_obd.c