Whamcloud - gitweb
LU-15850 mdt: pack default LMV in open reply
[fs/lustre-release.git] / lustre / include / uapi / linux / lustre / lustre_user.h
index 620e26a..edeff5a 100644 (file)
@@ -1563,13 +1563,15 @@ enum la_valid {
 #define MDS_OPEN_PCC      010000000000000ULL /* PCC: auto RW-PCC cache attach
                                              * for newly created file */
 #define MDS_OP_WITH_FID   020000000000000ULL /* operation carried out by FID */
+#define MDS_OPEN_DEFAULT_LMV  040000000000000ULL /* open fetches default LMV */
 
 /* lustre internal open flags, which should not be set from user space */
 #define MDS_OPEN_FL_INTERNAL (MDS_OPEN_HAS_EA | MDS_OPEN_HAS_OBJS |    \
                              MDS_OPEN_OWNEROVERRIDE | MDS_OPEN_LOCK |  \
                              MDS_OPEN_BY_FID | MDS_OPEN_LEASE |        \
                              MDS_OPEN_RELEASE | MDS_OPEN_RESYNC |      \
-                             MDS_OPEN_PCC | MDS_OP_WITH_FID)
+                             MDS_OPEN_PCC | MDS_OP_WITH_FID |          \
+                             MDS_OPEN_DEFAULT_LMV)
 
 
 /********* Changelogs **********/