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)
commit4f52b6bb8c57b9accafad526a429d6c0851cc62f
treef353d0c44725548e043d408cf92d0a02a23ee15e
parent93761d9863c332d1099d80629f89cf48eb745e48
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