NFSv4.1 make cachethis=no for writes
authorOlga Kornievskaia <kolga@netapp.com>
Wed, 12 Feb 2020 22:32:12 +0000 (17:32 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Feb 2020 18:53:09 +0000 (19:53 +0100)
commit590d35beddcc34b43b186ba6b7ce6ac5b2dc4459
treee9d388a91f12737a52f84e6d530706882660b38f
parent7bee7eabf0ed3218b6ee31df0b7527b44afd466c
NFSv4.1 make cachethis=no for writes

commit cd1b659d8ce7697ee9799b64f887528315b9097b upstream.

Turning caching off for writes on the server should improve performance.

Fixes: fba83f34119a ("NFS: Pass "privileged" value to nfs4_init_sequence()")
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Reviewed-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/nfs4proc.c