From fa704c0e1eea40a2370ac13938860e7648b50bdc Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Wed, 8 Jun 2011 17:10:18 -0600 Subject: [PATCH] LU-16 reserve OBD_CONNECT_MAXBYTES connect flag Reserve connect flag landed to master to prevent conflicts. Change-Id: I9cc8ebfbfd82083085eea793eec9562d2bfb8bd8 Signed-off-by: Johann Lombardi --- lustre/include/lustre/lustre_idl.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lustre/include/lustre/lustre_idl.h b/lustre/include/lustre/lustre_idl.h index fc8984a..1bd2ca0 100644 --- a/lustre/include/lustre/lustre_idl.h +++ b/lustre/include/lustre/lustre_idl.h @@ -361,6 +361,7 @@ extern void lustre_swab_ptlrpc_body(struct ptlrpc_body *pb, int msgsize); #define OBD_CONNECT_LAYOUTLOCK 0x2000000000ULL /* client supports layout lock */ #define OBD_CONNECT_64BITHASH 0x4000000000ULL /* client supports 64-bits * directory hash */ +#define OBD_CONNECT_MAXBYTES 0x8000000000ULL /* max stripe size */ /* also update obd_connect_names[] for lprocfs_rd_connect_flags() * and lustre/utils/wirecheck.c */ @@ -412,8 +413,8 @@ struct obd_connect_data { __u32 ocd_group; /* Used in lustre 1.8 */ __u32 ocd_cksum_types; /* supported checksum algorithms */ __u32 ocd_max_easize; /* How big LOV EA size can be on MDS */ - __u32 padding1; /* also fix lustre_swab_connect */ - __u64 padding2; /* also fix lustre_swab_connect */ + __u32 padding; /* also fix lustre_swab_connect */ + __u64 ocd_maxbytes; /* Maximum object size in bytes */ }; extern void lustre_swab_connect(struct obd_connect_data *ocd); -- 1.8.3.1