Whamcloud - gitweb
b=23094 add layout lock connect flag
authorNathan Rutman <nathan.rutman@oracle.com>
Thu, 17 Jun 2010 18:23:03 +0000 (11:23 -0700)
committerRobert Read <robert.read@oracle.com>
Thu, 17 Jun 2010 21:19:37 +0000 (14:19 -0700)
o=jc.lafoucriere@cea.fr
i=nathan
i=rread

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

index 02ace2f..f8e5e23 100644 (file)
@@ -1058,6 +1058,7 @@ extern void lustre_swab_ptlrpc_body(struct ptlrpc_body *pb);
 #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 /* it is 2.0 client */
 #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 /* 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 */
 
 /* also update obd_connect_names[] for lprocfs_rd_connect_flags()
  * and lustre/utils/wirecheck.c */
 
index fc6ed23..da3410f 100644 (file)
@@ -768,6 +768,7 @@ static const char *obd_connect_names[] = {
         "skip_orphan",
         "large_ea",
         "full20",
         "skip_orphan",
         "large_ea",
         "full20",
+        "layout_lock",
         NULL
 };
 
         NULL
 };