From 9e7115881f57b9cea332b045b3f308a0729598d4 Mon Sep 17 00:00:00 2001 From: Nathan Rutman Date: Thu, 17 Jun 2010 11:23:03 -0700 Subject: [PATCH] b=23094 add layout lock connect flag o=jc.lafoucriere@cea.fr i=nathan i=rread --- lustre/include/lustre/lustre_idl.h | 1 + lustre/obdclass/lprocfs_status.c | 1 + 2 files changed, 2 insertions(+) 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 }; -- 1.8.3.1