]> 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)
commitb9fb98c6d82577895d85eea69d17e4e6855aeb65
treef353d0c44725548e043d408cf92d0a02a23ee15e
parent5274370aeb02b8ff6fc8058d9c95addc54d6ac1c
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