Whamcloud - gitweb
b=15599 remove OBD_CONNECT_LAYOUTLOCK from supported bits
authorAndreas Dilger <andreas.dilger@oracle.com>
Wed, 24 Nov 2010 23:34:33 +0000 (16:34 -0700)
committerVitaly Fertman <vitaly.fertman@oracle.com>
Fri, 26 Nov 2010 22:57:59 +0000 (01:57 +0300)
Until the rest of the layout lock support is landed, it doesn't
make sense for the MDT to advertize the OBD_CONNECT_LAYOUTLOCK flag
at connection time.

Remove the flag from MDS_CONNECT_SUPPORTED until the actual
MDS_INODEBITS_LAYOUT ibits lock is landed and functional.

lustre/include/lustre/lustre_idl.h

index 4dc97ad..d832c4b 100644 (file)
@@ -1090,7 +1090,7 @@ extern void lustre_swab_ptlrpc_body(struct ptlrpc_body *pb);
                                 OBD_CONNECT_MDS_MDS | OBD_CONNECT_FID | \
                                 LRU_RESIZE_CONNECT_FLAG | OBD_CONNECT_VBR | \
                                 OBD_CONNECT_LOV_V3 | OBD_CONNECT_SOM | \
-                                OBD_CONNECT_FULL20 | OBD_CONNECT_LAYOUTLOCK)
+                                OBD_CONNECT_FULL20)
 #define OST_CONNECT_SUPPORTED  (OBD_CONNECT_SRVLOCK | OBD_CONNECT_GRANT | \
                                 OBD_CONNECT_REQPORTAL | OBD_CONNECT_VERSION | \
                                 OBD_CONNECT_TRUNCLOCK | OBD_CONNECT_INDEX | \