Author: rmacklem
Date: Wed Oct  4 22:55:30 2017
New Revision: 324289
URL: https://svnweb.freebsd.org/changeset/base/324289

Log:
  Add a few definitions for the Flex File Layout.
  
  This patch adds a few definitions for the Flex File Layout.
  Until a future commit adds Flex File layout support, these new fields
  are not used.
  This patch should not affect the "pnfs" option for File Layout.

Modified:
  head/sys/fs/nfs/nfsproto.h

Modified: head/sys/fs/nfs/nfsproto.h
==============================================================================
--- head/sys/fs/nfs/nfsproto.h  Wed Oct  4 21:15:45 2017        (r324288)
+++ head/sys/fs/nfs/nfsproto.h  Wed Oct  4 22:55:30 2017        (r324289)
@@ -637,6 +637,7 @@
 #define        NFSLAYOUT_NFSV4_1_FILES         0x1
 #define        NFSLAYOUT_OSD2_OBJECTS          0x2
 #define        NFSLAYOUT_BLOCK_VOLUME          0x3
+#define        NFSLAYOUT_FLEXFILE              0x4
 
 #define        NFSLAYOUTIOMODE_READ            1
 #define        NFSLAYOUTIOMODE_RW              2
@@ -649,6 +650,12 @@
 /* Flags for File Layout. */
 #define        NFSFLAYUTIL_DENSE               0x1
 #define        NFSFLAYUTIL_COMMIT_THRU_MDS     0x2
+
+/* Flags for Flex File Layout. */
+#define        NFSFLEXFLAG_NO_LAYOUTCOMMIT     0x00000001
+#define        NFSFLEXFLAG_NOIO_MDS            0x00000002
+#define        NFSFLEXFLAG_NO_READIO           0x00000004
+#define        NFSFLEXFLAG_WRITE_ONEMIRROR     0x00000008
 
 /* Conversion macros */
 #define        vtonfsv2_mode(t,m)                                              
\
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to