From: Nathan Rutman Date: Thu, 17 Jun 2010 18:23:03 +0000 (-0700) Subject: b=23094 add layout lock connect flag X-Git-Tag: v2_0_0-rc1~33 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=9e7115881f57b9cea332b045b3f308a0729598d4;ds=sidebyside b=23094 add layout lock connect flag o=jc.lafoucriere@cea.fr i=nathan i=rread --- diff --git a/lustre/include/lustre/lustre_idl.h b/lustre/include/lustre/lustre_idl.h index 02ace2f..f8e5e23 100644 --- a/lustre/include/lustre/lustre_idl.h +++ b/lustre/include/lustre/lustre_idl.h @@ -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_LAYOUTLOCK 0x2000000000ULL /* client supports layout lock */ /* 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 fc6ed23..da3410f 100644 --- a/lustre/obdclass/lprocfs_status.c +++ b/lustre/obdclass/lprocfs_status.c @@ -768,6 +768,7 @@ static const char *obd_connect_names[] = { "skip_orphan", "large_ea", "full20", + "layout_lock", NULL };