]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Don't call COMMIT in ->releasepage()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 2 Jun 2016 22:10:33 +0000 (18:10 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 22 Jun 2016 13:59:44 +0000 (09:59 -0400)
commit4ce49f5922b26151d5d9ed61fcd92c232a3c999e
treef353d0c44725548e043d408cf92d0a02a23ee15e
parent1844b80fdc330b4b14ce5c9fef086ec83ac465e6
NFS: Don't call COMMIT in ->releasepage()

While COMMIT has the potential to free up a lot of memory that is being
taken by unstable writes, it isn't guaranteed to free up this particular
page. Also, calling fsync() on the server is expensive and so we want to
do it in a more controlled fashion, rather than have it triggered at
random by the VM.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/file.c