From: Nathan Rutman Date: Thu, 17 Jun 2010 18:31:01 +0000 (-0700) Subject: b=23094 add layout lock connect flag X-Git-Tag: v1_8_3_54~3 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=282bb992b6e9a188b85a3ca58ffa119b1b566c52;p=fs%2Flustre-release.git 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 502b296..43568d3 100644 --- a/lustre/include/lustre/lustre_idl.h +++ b/lustre/include/lustre/lustre_idl.h @@ -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 */ diff --git a/lustre/obdclass/lprocfs_status.c b/lustre/obdclass/lprocfs_status.c index 756eca4..d60c009 100644 --- a/lustre/obdclass/lprocfs_status.c +++ b/lustre/obdclass/lprocfs_status.c @@ -746,6 +746,7 @@ static const char *obd_connect_names[] = { "skip_orphan", "large_ea", "full20", + "layout_lock", NULL };