From: Arshad Hussain Date: Fri, 10 Jan 2025 10:54:54 +0000 (-0500) Subject: LU-6142 obd: Fix style issues for obd_support.h (3a/3) X-Git-Tag: 2.16.52~58 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=0cfff979310cf7bbc0e8bd68ac84846e6a375529;p=fs%2Flustre-release.git LU-6142 obd: Fix style issues for obd_support.h (3a/3) This patch fixes issues reported by checkpatch for both files lustre/include/obd_support.h Test-Parameters: trivial Signed-off-by: Arshad Hussain Change-Id: Ifc05695da0f8e91624cab4f8ec78902736aabbac Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57819 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Oleg Drokin Reviewed-by: Andreas Dilger Reviewed-by: Timothy Day Reviewed-by: Petros Koutoupis --- diff --git a/lustre/include/obd_support.h b/lustre/include/obd_support.h index 16d3ded..b6223d5 100644 --- a/lustre/include/obd_support.h +++ b/lustre/include/obd_support.h @@ -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