diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-06-03 17:07:19 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-07-05 19:11:04 -0400 |
commit | a5864c999de6703f7ce908f72337568520c6cad3 (patch) | |
tree | c1136f64cb88078a28bfb177d9f0f1e1745716d2 /include/linux/nfs_fs.h | |
parent | 18290650b1c8655cfe6e0d63dd34942a037a130b (diff) | |
download | op-kernel-dev-a5864c999de6703f7ce908f72337568520c6cad3.zip op-kernel-dev-a5864c999de6703f7ce908f72337568520c6cad3.tar.gz |
NFS: Do not serialise O_DIRECT reads and writes
Allow dio requests to be scheduled in parallel, but ensuring that they
do not conflict with buffered I/O.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'include/linux/nfs_fs.h')
-rw-r--r-- | include/linux/nfs_fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 120dd04..225d17d 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h @@ -210,6 +210,7 @@ struct nfs_inode { #define NFS_INO_LAYOUTCOMMIT (9) /* layoutcommit required */ #define NFS_INO_LAYOUTCOMMITTING (10) /* layoutcommit inflight */ #define NFS_INO_LAYOUTSTATS (11) /* layoutstats inflight */ +#define NFS_INO_ODIRECT (12) /* I/O setting is O_DIRECT */ static inline struct nfs_inode *NFS_I(const struct inode *inode) { |