Whamcloud - gitweb
LU-6142 obd: Fix style issues for obd_support.h (2b/3) 21/57821/5
authorArshad Hussain <arshad.hussain@aeoncomputing.com>
Fri, 10 Jan 2025 10:44:31 +0000 (05:44 -0500)
committerOleg Drokin <green@whamcloud.com>
Sun, 2 Feb 2025 06:21:28 +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: Ieb6d95350819b6aa93963f5069db7b7879a0e7b8
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57821
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 8cb6bc7..facb87c 100644 (file)
@@ -284,70 +284,70 @@ extern bool obd_enable_health_write;
 #define OBD_FAIL_OFD_SET_OID                           0x1e0
 #define OBD_FAIL_OFD_COMMITRW_DELAY                    0x1e1
 
-#define OBD_FAIL_OST                     0x200
-#define OBD_FAIL_OST_CONNECT_NET         0x201
-#define OBD_FAIL_OST_DISCONNECT_NET      0x202
-#define OBD_FAIL_OST_GET_INFO_NET        0x203
-#define OBD_FAIL_OST_CREATE_NET          0x204
-#define OBD_FAIL_OST_DESTROY_NET         0x205
-#define OBD_FAIL_OST_GETATTR_NET         0x206
-#define OBD_FAIL_OST_SETATTR_NET         0x207
-#define OBD_FAIL_OST_OPEN_NET            0x208
-#define OBD_FAIL_OST_CLOSE_NET           0x209
-#define OBD_FAIL_OST_BRW_NET             0x20a
-#define OBD_FAIL_OST_PUNCH_NET           0x20b
-#define OBD_FAIL_OST_STATFS_NET          0x20c
-#define OBD_FAIL_OST_HANDLE_UNPACK       0x20d
-#define OBD_FAIL_OST_BRW_WRITE_BULK      0x20e
-#define OBD_FAIL_OST_BRW_READ_BULK       0x20f
-#define OBD_FAIL_OST_SYNC_NET            0x210
-#define OBD_FAIL_OST_ALL_REPLY_NET       0x211
-#define OBD_FAIL_OST_ALL_REQUEST_NET     0x212
-#define OBD_FAIL_OST_LDLM_REPLY_NET      0x213
-#define OBD_FAIL_OST_BRW_PAUSE_BULK      0x214
-#define OBD_FAIL_OST_ENOSPC              0x215
-#define OBD_FAIL_OST_EROFS               0x216
-#define OBD_FAIL_SRV_ENOENT              0x217
-/*     OBD_FAIL_OST_QUOTACHECK_NET      0x218 obsolete since 2.4 */
-#define OBD_FAIL_OST_QUOTACTL_NET        0x219
-#define OBD_FAIL_OST_CHECKSUM_RECEIVE    0x21a
-#define OBD_FAIL_OST_CHECKSUM_SEND       0x21b
-#define OBD_FAIL_OST_BRW_SIZE            0x21c
-#define OBD_FAIL_OST_DROP_REQ            0x21d
-#define OBD_FAIL_OST_SETATTR_CREDITS     0x21e
-#define OBD_FAIL_OST_HOLD_WRITE_RPC      0x21f
-#define OBD_FAIL_OST_BRW_WRITE_BULK2     0x220
-#define OBD_FAIL_OST_LLOG_RECOVERY_TIMEOUT 0x221
-#define OBD_FAIL_OST_CANCEL_COOKIE_TIMEOUT 0x222
-#define OBD_FAIL_OST_PAUSE_CREATE        0x223
-#define OBD_FAIL_OST_BRW_PAUSE_PACK      0x224
-#define OBD_FAIL_OST_CONNECT_NET2        0x225
-#define OBD_FAIL_OST_NOMEM               0x226
-#define OBD_FAIL_OST_BRW_PAUSE_BULK2     0x227
-#define OBD_FAIL_OST_MAPBLK_ENOSPC       0x228
-#define OBD_FAIL_OST_ENOINO              0x229
-#define OBD_FAIL_OST_DQACQ_NET           0x230
-#define OBD_FAIL_OST_STATFS_EINPROGRESS  0x231
-#define OBD_FAIL_OST_SET_INFO_NET        0x232
-#define OBD_FAIL_OST_NODESTROY          0x233
-/*     OBD_FAIL_OST_READ_SIZE           0x234 obsolete since 2.14 */
-#define OBD_FAIL_OST_LADVISE_NET        0x235
-#define OBD_FAIL_OST_PAUSE_PUNCH         0x236
-#define OBD_FAIL_OST_LADVISE_PAUSE      0x237
-#define OBD_FAIL_OST_FAKE_RW            0x238
-#define OBD_FAIL_OST_LIST_ASSERT         0x239
-#define OBD_FAIL_OST_GL_WORK_ALLOC      0x240
-#define OBD_FAIL_OST_SKIP_LV_CHECK      0x241
-#define OBD_FAIL_OST_STATFS_DELAY       0x242
-#define OBD_FAIL_OST_INTEGRITY_FAULT    0x243
-#define OBD_FAIL_OST_INTEGRITY_CMP      0x244
-#define OBD_FAIL_OST_DISCONNECT_DELAY   0x245
-#define OBD_FAIL_OST_PREPARE_DELAY      0x247
-#define OBD_FAIL_OST_2BIG_NIOBUF        0x248
-#define OBD_FAIL_OST_FALLOCATE_NET      0x249
-#define OBD_FAIL_OST_SEEK_NET           0x24a
-#define OBD_FAIL_OST_WR_ATTR_DELAY      0x250
-#define OBD_FAIL_OST_RESTART_IO                 0x251
+#define OBD_FAIL_OST                           0x200
+#define OBD_FAIL_OST_CONNECT_NET               0x201
+#define OBD_FAIL_OST_DISCONNECT_NET            0x202
+#define OBD_FAIL_OST_GET_INFO_NET              0x203
+#define OBD_FAIL_OST_CREATE_NET                        0x204
+#define OBD_FAIL_OST_DESTROY_NET               0x205
+#define OBD_FAIL_OST_GETATTR_NET               0x206
+#define OBD_FAIL_OST_SETATTR_NET               0x207
+#define OBD_FAIL_OST_OPEN_NET                  0x208
+#define OBD_FAIL_OST_CLOSE_NET                 0x209
+#define OBD_FAIL_OST_BRW_NET                   0x20a
+#define OBD_FAIL_OST_PUNCH_NET                 0x20b
+#define OBD_FAIL_OST_STATFS_NET                        0x20c
+#define OBD_FAIL_OST_HANDLE_UNPACK             0x20d
+#define OBD_FAIL_OST_BRW_WRITE_BULK            0x20e
+#define OBD_FAIL_OST_BRW_READ_BULK             0x20f
+#define OBD_FAIL_OST_SYNC_NET                  0x210
+#define OBD_FAIL_OST_ALL_REPLY_NET             0x211
+#define OBD_FAIL_OST_ALL_REQUEST_NET           0x212
+#define OBD_FAIL_OST_LDLM_REPLY_NET            0x213
+#define OBD_FAIL_OST_BRW_PAUSE_BULK            0x214
+#define OBD_FAIL_OST_ENOSPC                    0x215
+#define OBD_FAIL_OST_EROFS                     0x216
+#define OBD_FAIL_SRV_ENOENT                    0x217
+/*     OBD_FAIL_OST_QUOTACHECK_NET             0x218 obsolete since 2.4 */
+#define OBD_FAIL_OST_QUOTACTL_NET              0x219
+#define OBD_FAIL_OST_CHECKSUM_RECEIVE          0x21a
+#define OBD_FAIL_OST_CHECKSUM_SEND             0x21b
+#define OBD_FAIL_OST_BRW_SIZE                  0x21c
+#define OBD_FAIL_OST_DROP_REQ                  0x21d
+#define OBD_FAIL_OST_SETATTR_CREDITS           0x21e
+#define OBD_FAIL_OST_HOLD_WRITE_RPC            0x21f
+#define OBD_FAIL_OST_BRW_WRITE_BULK2           0x220
+#define OBD_FAIL_OST_LLOG_RECOVERY_TIMEOUT     0x221
+#define OBD_FAIL_OST_CANCEL_COOKIE_TIMEOUT     0x222
+#define OBD_FAIL_OST_PAUSE_CREATE              0x223
+#define OBD_FAIL_OST_BRW_PAUSE_PACK            0x224
+#define OBD_FAIL_OST_CONNECT_NET2              0x225
+#define OBD_FAIL_OST_NOMEM                     0x226
+#define OBD_FAIL_OST_BRW_PAUSE_BULK2           0x227
+#define OBD_FAIL_OST_MAPBLK_ENOSPC             0x228
+#define OBD_FAIL_OST_ENOINO                    0x229
+#define OBD_FAIL_OST_DQACQ_NET                 0x230
+#define OBD_FAIL_OST_STATFS_EINPROGRESS                0x231
+#define OBD_FAIL_OST_SET_INFO_NET              0x232
+#define OBD_FAIL_OST_NODESTROY                 0x233
+/*     OBD_FAIL_OST_READ_SIZE                  0x234 obsolete since 2.14 */
+#define OBD_FAIL_OST_LADVISE_NET               0x235
+#define OBD_FAIL_OST_PAUSE_PUNCH               0x236
+#define OBD_FAIL_OST_LADVISE_PAUSE             0x237
+#define OBD_FAIL_OST_FAKE_RW                   0x238
+#define OBD_FAIL_OST_LIST_ASSERT               0x239
+#define OBD_FAIL_OST_GL_WORK_ALLOC             0x240
+#define OBD_FAIL_OST_SKIP_LV_CHECK             0x241
+#define OBD_FAIL_OST_STATFS_DELAY              0x242
+#define OBD_FAIL_OST_INTEGRITY_FAULT           0x243
+#define OBD_FAIL_OST_INTEGRITY_CMP             0x244
+#define OBD_FAIL_OST_DISCONNECT_DELAY          0x245
+#define OBD_FAIL_OST_PREPARE_DELAY             0x247
+#define OBD_FAIL_OST_2BIG_NIOBUF               0x248
+#define OBD_FAIL_OST_FALLOCATE_NET             0x249
+#define OBD_FAIL_OST_SEEK_NET                  0x24a
+#define OBD_FAIL_OST_WR_ATTR_DELAY             0x250
+#define OBD_FAIL_OST_RESTART_IO                        0x251
 #define OBD_FAIL_OST_OPCODE             0x253
 #define OBD_FAIL_OST_DELORPHAN_DELAY    0x254
 #define OBD_FAIL_OST_ENOSPC_VALID       0x255