]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Fix commit policy for non-blocking calls to nfs_write_inode()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 20 Jun 2017 23:35:38 +0000 (19:35 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 13 Jul 2017 19:58:05 +0000 (15:58 -0400)
commit8ba765a202db086c8630394b17c0d3a2f470a2a4
tree0c8f39c5caaaa89331300226061c183429d8d1da
parentb7ede3818a9011c14717507e0f75a72eed14c4f3
NFS: Fix commit policy for non-blocking calls to nfs_write_inode()

Now that the writes will schedule a commit on their own, we don't
need nfs_write_inode() to schedule one if there are outstanding
writes, and we're being called in non-blocking mode.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/write.c