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 /fs/nfs/internal.h | |
parent | 18290650b1c8655cfe6e0d63dd34942a037a130b (diff) |
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 'fs/nfs/internal.h')
-rw-r--r-- | fs/nfs/internal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index 0eb5c924886d..159b64ede82a 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h | |||
@@ -411,6 +411,14 @@ extern void __exit unregister_nfs_fs(void); | |||
411 | extern bool nfs_sb_active(struct super_block *sb); | 411 | extern bool nfs_sb_active(struct super_block *sb); |
412 | extern void nfs_sb_deactive(struct super_block *sb); | 412 | extern void nfs_sb_deactive(struct super_block *sb); |
413 | 413 | ||
414 | /* io.c */ | ||
415 | extern void nfs_start_io_read(struct inode *inode); | ||
416 | extern void nfs_end_io_read(struct inode *inode); | ||
417 | extern void nfs_start_io_write(struct inode *inode); | ||
418 | extern void nfs_end_io_write(struct inode *inode); | ||
419 | extern void nfs_start_io_direct(struct inode *inode); | ||
420 | extern void nfs_end_io_direct(struct inode *inode); | ||
421 | |||
414 | /* namespace.c */ | 422 | /* namespace.c */ |
415 | #define NFS_PATH_CANONICAL 1 | 423 | #define NFS_PATH_CANONICAL 1 |
416 | extern char *nfs_path(char **p, struct dentry *dentry, | 424 | extern char *nfs_path(char **p, struct dentry *dentry, |