diff --git a/lustre/include/lustre/lustre_idl.h b/lustre/include/lustre/lustre_idl.h index 0cdb6a3f64798d06937f966a4385586b2789eb96..0dbe24313cf94dfed379ff0c14d41e060678f1de 100644 --- a/lustre/include/lustre/lustre_idl.h +++ b/lustre/include/lustre/lustre_idl.h @@ -284,6 +284,8 @@ extern void lustre_swab_ptlrpc_body(struct ptlrpc_body *pb); #define OBD_CONNECT_FID_CAPA 0x100000ULL /* fid capability */ #define OBD_CONNECT_OSS_CAPA 0x200000ULL /* OSS capability */ #define OBD_CONNECT_CANCELSET 0x400000ULL /* Early batched cancels. */ +#define OBD_CONNECT_SOM 0x00800000ULL /* Size on MDS */ +#define OBD_CONNECT_AT 0x01000000ULL /* client uses adaptive timeouts */ /* also update obd_connect_names[] for lprocfs_rd_connect_flags() * and lustre/utils/wirecheck.c */ diff --git a/lustre/obdclass/lprocfs_status.c b/lustre/obdclass/lprocfs_status.c index fd27fd9c35484a030a4de8b66f92d71c60a74273..29bc50821c8c2b2230d50bca444aa68b641f9a62 100644 --- a/lustre/obdclass/lprocfs_status.c +++ b/lustre/obdclass/lprocfs_status.c @@ -514,6 +514,8 @@ static const char *obd_connect_names[] = { "fid_capability", "oss_capability", "early_lock_cancel", + "size_on_mds", + "adaptive_timeout", NULL }; diff --git a/lustre/utils/wirecheck.c b/lustre/utils/wirecheck.c index 29f0264b566905eea5b59b5b087c8ab610027bc6..dfd2604c23848bef1031bfec5dabf7b5f2f72553 100644 --- a/lustre/utils/wirecheck.c +++ b/lustre/utils/wirecheck.c @@ -179,6 +179,8 @@ static void check_obd_connect_data(void) CHECK_CDEFINE(OBD_CONNECT_FID_CAPA); CHECK_CDEFINE(OBD_CONNECT_OSS_CAPA); CHECK_CDEFINE(OBD_CONNECT_CANCELSET); + CHECK_CDEFINE(OBD_CONNECT_SOM); + CHECK_CDEFINE(OBD_CONNECT_AT); } static void