Whamcloud - gitweb
b=22560 introduce flag of "OBD_CONNECT_FULL20" to prevent reusing on b1_8
authorFan Yong <Yong.Fan@Sun.COM>
Thu, 20 May 2010 09:39:41 +0000 (17:39 +0800)
committerJohann Lombardi <johann@sun.com>
Thu, 20 May 2010 21:23:47 +0000 (23:23 +0200)
introduce flag of "OBD_CONNECT_FULL20" to prevent reusing on b1_8

i=johann

lustre/include/lustre/lustre_idl.h
lustre/obdclass/lprocfs_status.c

index 4f61d31..0ef03e6 100644 (file)
@@ -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 */
 
index e75ee5e..74cf3c4 100644 (file)
@@ -744,6 +744,7 @@ static const char *obd_connect_names[] = {
         "pools",
         "grant_shrink",
         "skip_orphan",
+        "full20",
         NULL
 };