From 015d91ce00ab1ab1dddc0db95c66715c8cadf17d Mon Sep 17 00:00:00 2001 From: Fan Yong Date: Thu, 20 May 2010 17:39:41 +0800 Subject: [PATCH] b=22560 introduce flag of "OBD_CONNECT_FULL20" to prevent reusing on b1_8 introduce flag of "OBD_CONNECT_FULL20" to prevent reusing on b1_8 i=johann --- lustre/include/lustre/lustre_idl.h | 3 +++ lustre/obdclass/lprocfs_status.c | 1 + 2 files changed, 4 insertions(+) diff --git a/lustre/include/lustre/lustre_idl.h b/lustre/include/lustre/lustre_idl.h index 4f61d31..0ef03e6 100644 --- a/lustre/include/lustre/lustre_idl.h +++ b/lustre/include/lustre/lustre_idl.h @@ -359,6 +359,9 @@ extern void lustre_swab_ptlrpc_body(struct ptlrpc_body *pb, int msgsize); #define OBD_CONNECT_LOV_V3 0x100000000ULL /*client supports LOV v3 EA */ #define OBD_CONNECT_GRANT_SHRINK 0x200000000ULL /* support grant shrink */ #define OBD_CONNECT_SKIP_ORPHAN 0x400000000ULL /* don't reuse orphan objids */ +#define OBD_CONNECT_FULL20 0x800000000ULL /* this flag is only used for + * 2.0 client, don't reuse it + * on b1_8 or older releases */ /* 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 e75ee5e..74cf3c4 100644 --- a/lustre/obdclass/lprocfs_status.c +++ b/lustre/obdclass/lprocfs_status.c @@ -744,6 +744,7 @@ static const char *obd_connect_names[] = { "pools", "grant_shrink", "skip_orphan", + "full20", NULL }; -- 1.8.3.1