diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-06-02 01:23:01 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-06-22 16:59:42 +0300 |
commit | 6b56a89833fa7903595c8d138bb4927187315cba (patch) | |
tree | 77160ce6d2b08a121542d47f1d889011c595c464 /fs/nfs/file.c | |
parent | ca0daa277acac1029f74d9fea838c9e507398226 (diff) | |
download | linux-6b56a89833fa7903595c8d138bb4927187315cba.tar.xz |
NFS: Kill NFS_INO_NFS_INO_FLUSHING: it is a performance killer
filemap_datawrite() and friends already deal just fine with livelock.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/file.c')
-rw-r--r-- | fs/nfs/file.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/nfs/file.c b/fs/nfs/file.c index 2d39d9f9da7d..29d7477a62e8 100644 --- a/fs/nfs/file.c +++ b/fs/nfs/file.c @@ -360,14 +360,6 @@ static int nfs_write_begin(struct file *file, struct address_space *mapping, start: /* - * Prevent starvation issues if someone is doing a consistency - * sync-to-disk - */ - ret = wait_on_bit_action(&NFS_I(mapping->host)->flags, NFS_INO_FLUSHING, - nfs_wait_bit_killable, TASK_KILLABLE); - if (ret) - return ret; - /* * Wait for O_DIRECT to complete */ inode_dio_wait(mapping->host); |