Whamcloud - gitweb
LU-12021 lsom: Add an OBD_CONNECT2_LSOM connect flag
[fs/lustre-release.git] / lustre / include / uapi / linux / lustre / lustre_idl.h
index aca742b..4c697d4 100644 (file)
@@ -834,6 +834,7 @@ struct ptlrpc_body_v2 {
 #define OBD_CONNECT2_LOCK_CONVERT      0x80ULL /* IBITS lock convert support */
 #define OBD_CONNECT2_ARCHIVE_ID_ARRAY  0x100ULL /* store HSM archive_id in array */
 #define OBD_CONNECT2_SELINUX_POLICY    0x400ULL /* has client SELinux policy */
+#define OBD_CONNECT2_LSOM              0x800ULL /* LSOM support */
 
 /* XXX README XXX:
  * Please DO NOT add flag values here before first ensuring that this same
@@ -889,7 +890,8 @@ struct ptlrpc_body_v2 {
                                OBD_CONNECT2_LOCK_CONVERT | \
                                OBD_CONNECT2_DIR_MIGRATE | \
                                OBD_CONNECT2_ARCHIVE_ID_ARRAY | \
-                               OBD_CONNECT2_SELINUX_POLICY)
+                               OBD_CONNECT2_SELINUX_POLICY | \
+                               OBD_CONNECT2_LSOM)
 
 #define OST_CONNECT_SUPPORTED  (OBD_CONNECT_SRVLOCK | OBD_CONNECT_GRANT | \
                                OBD_CONNECT_REQPORTAL | OBD_CONNECT_VERSION | \