From: Johann Lombardi Date: Tue, 4 Sep 2012 07:52:00 +0000 (+0200) Subject: LU-1789 protocol: reserve connect flag for lightweight conn X-Git-Tag: v1_8_8_60_WC1~1 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=448732e41ec3e62d8c618847138d1e4922ac19e8;p=fs%2Flustre-release.git LU-1789 protocol: reserve connect flag for lightweight conn Reserve connection flag for lightweight connection support. Although this feature will never be supported on 1.8, it still avoids flag conflicts. Signed-off-by: Johann Lombardi Change-Id: I1b943579d8c46cce0d70a5df45d35874bf63b29b Reviewed-on: http://review.whamcloud.com/3852 --- diff --git a/lustre/include/lustre/lustre_idl.h b/lustre/include/lustre/lustre_idl.h index bc5819f..66371fe 100644 --- a/lustre/include/lustre/lustre_idl.h +++ b/lustre/include/lustre/lustre_idl.h @@ -371,6 +371,9 @@ extern void lustre_swab_ptlrpc_body(struct ptlrpc_body *pb, int msgsize); * write RPC error properly */ #define OBD_CONNECT_GRANT_PARAM 0x100000000000ULL/* extra grant params used for * finer space reservation */ +#define OBD_CONNECT_NANOSEC_TIME 0x200000000000ULL /* nanosecond timestamps */ +#define OBD_CONNECT_LVB_TYPE 0x400000000000ULL /* variable type of LVB */ +#define OBD_CONNECT_LIGHTWEIGHT 0x1000000000000ULL /* lightweight connection */ /* XXX README XXX: * Please DO NOT add flag values here before first ensuring that this same * flag value is not in use on some other branch. Please clear any such diff --git a/lustre/obdclass/lprocfs_status.c b/lustre/obdclass/lprocfs_status.c index dddf2c2..2b0c5b4 100644 --- a/lustre/obdclass/lprocfs_status.c +++ b/lustre/obdclass/lprocfs_status.c @@ -759,6 +759,10 @@ static const char *obd_connect_names[] = { "umask", "einprogress", "grant_param", + "nanoseconds_times", + "lvb_type", + "unknown", + "lightweight_conn", NULL };