Whamcloud - gitweb
LU-6142 obd: Fix style issues for obd_support.h (3a/3) 19/57819/6
authorArshad Hussain <arshad.hussain@aeoncomputing.com>
Fri, 10 Jan 2025 10:54:54 +0000 (05:54 -0500)
committerOleg Drokin <green@whamcloud.com>
Sun, 2 Feb 2025 06:21:49 +0000 (06:21 +0000)
This patch fixes issues reported by checkpatch
for both files lustre/include/obd_support.h

Test-Parameters: trivial
Signed-off-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Change-Id: Ifc05695da0f8e91624cab4f8ec78902736aabbac
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57819
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Petros Koutoupis <petros.koutoupis@hpe.com>
lustre/include/obd_support.h

index 16d3ded..b6223d5 100644 (file)
@@ -403,34 +403,34 @@ extern bool obd_enable_health_write;
 #define OBD_FAIL_LDLM_LOCK_STACK         0x32f
 
 /* LOCKLESS IO */
-#define OBD_FAIL_LDLM_SET_CONTENTION     0x385
-
-#define OBD_FAIL_OSC                     0x400
-#define OBD_FAIL_OSC_BRW_READ_BULK       0x401
-#define OBD_FAIL_OSC_BRW_WRITE_BULK      0x402
-#define OBD_FAIL_OSC_LOCK_BL_AST         0x403
-#define OBD_FAIL_OSC_LOCK_CP_AST         0x404
-#define OBD_FAIL_OSC_MATCH               0x405
-#define OBD_FAIL_OSC_BRW_PREP_REQ        0x406
-#define OBD_FAIL_OSC_SHUTDOWN            0x407
-#define OBD_FAIL_OSC_CHECKSUM_RECEIVE    0x408
-#define OBD_FAIL_OSC_CHECKSUM_SEND       0x409
-#define OBD_FAIL_OSC_BRW_PREP_REQ2       0x40a
-/* #define OBD_FAIL_OSC_CONNECT_CKSUM       0x40b Obsolete since 2.9 */
-#define OBD_FAIL_OSC_CKSUM_ADLER_ONLY    0x40c
-/*#define OBD_FAIL_OSC_DIO_PAUSE           0x40d removed in 2.0 */
-#define OBD_FAIL_OSC_OBJECT_CONTENTION   0x40e
-#define OBD_FAIL_OSC_CP_CANCEL_RACE      0x40f
-#define OBD_FAIL_OSC_CP_ENQ_RACE         0x410
-#define OBD_FAIL_OSC_NO_GRANT            0x411
-#define OBD_FAIL_OSC_DELAY_SETTIME      0x412
-#define OBD_FAIL_OSC_CONNECT_GRANT_PARAM 0x413
-#define OBD_FAIL_OSC_DELAY_IO            0x414
-#define OBD_FAIL_OSC_NO_SIZE_DATA        0x415
-#define OBD_FAIL_OSC_DELAY_CANCEL        0x416
-#define OBD_FAIL_OSC_SLOW_PAGE_EVICT    0x417
-#define OBD_FAIL_OSC_FIEMAP             0x418
-#define OBD_FAIL_OSC_MARK_COMPRESSED    0x419
+#define OBD_FAIL_LDLM_SET_CONTENTION           0x385
+
+#define OBD_FAIL_OSC                           0x400
+#define OBD_FAIL_OSC_BRW_READ_BULK             0x401
+#define OBD_FAIL_OSC_BRW_WRITE_BULK            0x402
+#define OBD_FAIL_OSC_LOCK_BL_AST               0x403
+#define OBD_FAIL_OSC_LOCK_CP_AST               0x404
+#define OBD_FAIL_OSC_MATCH                     0x405
+#define OBD_FAIL_OSC_BRW_PREP_REQ              0x406
+#define OBD_FAIL_OSC_SHUTDOWN                  0x407
+#define OBD_FAIL_OSC_CHECKSUM_RECEIVE          0x408
+#define OBD_FAIL_OSC_CHECKSUM_SEND             0x409
+#define OBD_FAIL_OSC_BRW_PREP_REQ2             0x40a
+/* #define OBD_FAIL_OSC_CONNECT_CKSUM          0x40b Obsolete since 2.9 */
+#define OBD_FAIL_OSC_CKSUM_ADLER_ONLY          0x40c
+/*#define OBD_FAIL_OSC_DIO_PAUSE               0x40d removed in 2.0 */
+#define OBD_FAIL_OSC_OBJECT_CONTENTION         0x40e
+#define OBD_FAIL_OSC_CP_CANCEL_RACE            0x40f
+#define OBD_FAIL_OSC_CP_ENQ_RACE               0x410
+#define OBD_FAIL_OSC_NO_GRANT                  0x411
+#define OBD_FAIL_OSC_DELAY_SETTIME             0x412
+#define OBD_FAIL_OSC_CONNECT_GRANT_PARAM       0x413
+#define OBD_FAIL_OSC_DELAY_IO                  0x414
+#define OBD_FAIL_OSC_NO_SIZE_DATA              0x415
+#define OBD_FAIL_OSC_DELAY_CANCEL              0x416
+#define OBD_FAIL_OSC_SLOW_PAGE_EVICT           0x417
+#define OBD_FAIL_OSC_FIEMAP                    0x418
+#define OBD_FAIL_OSC_MARK_COMPRESSED           0x419
 
 #define OBD_FAIL_PTLRPC                  0x500
 #define OBD_FAIL_PTLRPC_ACK              0x501