From ec1ac03a6d989655225219a30b3b0173ed087ae6 Mon Sep 17 00:00:00 2001 From: adilger <adilger> Date: Mon, 17 Sep 2007 16:24:16 +0000 Subject: [PATCH] Branch b1_6 Add OBD_CONNECT_MDS_MDS and OBD_CONNECT_REAL from HEAD so we don't get any conflicts in the future. --- lustre/include/lustre/lustre_idl.h | 52 ++++++++++++++++-------------- 1 file changed, 27 insertions(+), 25 deletions(-) diff --git a/lustre/include/lustre/lustre_idl.h b/lustre/include/lustre/lustre_idl.h index e46042e701..ec3890408c 100644 --- a/lustre/include/lustre/lustre_idl.h +++ b/lustre/include/lustre/lustre_idl.h @@ -262,31 +262,33 @@ extern void lustre_swab_ptlrpc_body(struct ptlrpc_body *pb); #define MSG_CONNECT_NEXT_VER 0x80 /* use next version of lustre_msg */ /* Connect flags */ -#define OBD_CONNECT_RDONLY 0x1ULL /* client allowed read-only access */ -#define OBD_CONNECT_INDEX 0x2ULL /* connect to specific LOV idx */ -#define OBD_CONNECT_GRANT 0x8ULL /* OSC acquires grant at connect */ -#define OBD_CONNECT_SRVLOCK 0x10ULL /* server takes locks for client */ -#define OBD_CONNECT_VERSION 0x20ULL /* Server supports versions in ocd */ -#define OBD_CONNECT_REQPORTAL 0x40ULL /* Separate portal for non-IO reqs */ -#define OBD_CONNECT_ACL 0x80ULL /* client uses access control lists */ -#define OBD_CONNECT_XATTR 0x100ULL /* client using extended attributes*/ -#define OBD_CONNECT_CROW 0x200ULL /* MDS+OST create objects on write */ -#define OBD_CONNECT_TRUNCLOCK 0x400ULL /* locks on server for punch b=9528 */ -#define OBD_CONNECT_TRANSNO 0x800ULL /* replay sends initial transno */ -#define OBD_CONNECT_IBITS 0x1000ULL /* support for inodebits locks */ -#define OBD_CONNECT_JOIN 0x2000ULL /* files can be concatenated */ -#define OBD_CONNECT_ATTRFID 0x4000ULL /* Server supports GetAttr By Fid */ -#define OBD_CONNECT_NODEVOH 0x8000ULL /* No open handle for special nodes */ -#define OBD_CONNECT_LCL_CLIENT 0x10000ULL /* local 1.8 client */ -#define OBD_CONNECT_RMT_CLIENT 0x20000ULL /* Remote 1.8 client */ -#define OBD_CONNECT_BRW_SIZE 0x40000ULL /* Max bytes per rpc */ -#define OBD_CONNECT_QUOTA64 0x80000ULL /* 64bit qunit_data.qd_count b=10707*/ -#define OBD_CONNECT_FID_CAPA 0x100000ULL /* fid capability */ -#define OBD_CONNECT_OSS_CAPA 0x200000ULL /* OSS capability */ -#define OBD_CONNECT_CANCELSET 0x400000ULL /* Early batched cancels. */ -#define OBD_CONNECT_SOM 0x00800000ULL /* Size on MDS */ -#define OBD_CONNECT_AT 0x01000000ULL /* client uses adaptive timeouts */ -#define OBD_CONNECT_LRU_RESIZE 0x02000000ULL /* Lru resize feature. */ +#define OBD_CONNECT_RDONLY 0x1ULL /*client allowed read-only access*/ +#define OBD_CONNECT_INDEX 0x2ULL /*connect to specific LOV idx */ +#define OBD_CONNECT_GRANT 0x8ULL /*OSC acquires grant at connect */ +#define OBD_CONNECT_SRVLOCK 0x10ULL /*server takes locks for client */ +#define OBD_CONNECT_VERSION 0x20ULL /*Lustre versions in ocd */ +#define OBD_CONNECT_REQPORTAL 0x40ULL /*Separate non-IO request portal */ +#define OBD_CONNECT_ACL 0x80ULL /*access control lists */ +#define OBD_CONNECT_XATTR 0x100ULL /*client use extended attributes */ +#define OBD_CONNECT_CROW 0x200ULL /*MDS+OST create objects on write*/ +#define OBD_CONNECT_TRUNCLOCK 0x400ULL /*locks on server for punch */ +#define OBD_CONNECT_TRANSNO 0x800ULL /*replay sends initial transno */ +#define OBD_CONNECT_IBITS 0x1000ULL /*support for inodebits locks */ +#define OBD_CONNECT_JOIN 0x2000ULL /*files can be concatenated */ +#define OBD_CONNECT_ATTRFID 0x4000ULL /*Server supports GetAttr By Fid */ +#define OBD_CONNECT_NODEVOH 0x8000ULL /*No open handle on special nodes*/ +#define OBD_CONNECT_LCL_CLIENT 0x10000ULL /*local 1.8 client */ +#define OBD_CONNECT_RMT_CLIENT 0x20000ULL /*Remote 1.8 client */ +#define OBD_CONNECT_BRW_SIZE 0x40000ULL /*Max bytes per rpc */ +#define OBD_CONNECT_QUOTA64 0x80000ULL /*64bit qunit_data.qd_count */ +#define OBD_CONNECT_MDS_CAPA 0x100000ULL /*MDS capability */ +#define OBD_CONNECT_OSS_CAPA 0x200000ULL /*OSS capability */ +#define OBD_CONNECT_CANCELSET 0x400000ULL /*Early batched cancels. */ +#define OBD_CONNECT_SOM 0x00800000ULL /*Size on MDS */ +#define OBD_CONNECT_AT 0x01000000ULL /*client uses adaptive timeouts */ +#define OBD_CONNECT_LRU_RESIZE 0x02000000ULL /*Lru resize feature. */ +#define OBD_CONNECT_MDS_MDS 0x04000000ULL /*MDS-MDS connection */ +#define OBD_CONNECT_REAL 0x08000000ULL /*real connection */ /* also update obd_connect_names[] for lprocfs_rd_connect_flags() * and lustre/utils/wirecheck.c */ -- GitLab