Whamcloud - gitweb
b=23094 add layout lock connect flag
authorNathan Rutman <nathan.rutman@oracle.com>
Thu, 17 Jun 2010 18:31:01 +0000 (11:31 -0700)
committerJohann Lombardi <johann@sun.com>
Fri, 18 Jun 2010 20:53:50 +0000 (22:53 +0200)
o=jc.lafoucriere@cea.fr
i=nathan
i=rread

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

index 502b296..43568d3 100644 (file)
@@ -357,9 +357,8 @@ extern void lustre_swab_ptlrpc_body(struct ptlrpc_body *pb, int msgsize);
 #define OBD_CONNECT_GRANT_SHRINK  0x200000000ULL /* support grant shrink */
 #define OBD_CONNECT_SKIP_ORPHAN   0x400000000ULL /* don't reuse orphan objids */
 #define OBD_CONNECT_MAX_EASIZE    0x800000000ULL /* preserved for large EA */
-#define OBD_CONNECT_FULL20       0x1000000000ULL /* this flag is only used for
-                                                  * 2.0 client, don't reuse it
-                                                  * on b1_8 or older releases */
+#define OBD_CONNECT_FULL20       0x1000000000ULL /* it is 2.0 client */
+#define OBD_CONNECT_LAYOUTLOCK   0x2000000000ULL /* client supports layout lock */
 /* also update obd_connect_names[] for lprocfs_rd_connect_flags()
  * and lustre/utils/wirecheck.c */
 
index 756eca4..d60c009 100644 (file)
@@ -746,6 +746,7 @@ static const char *obd_connect_names[] = {
         "skip_orphan",
         "large_ea",
         "full20",
+        "layout_lock",
         NULL
 };