diff options
author | Tigran Mkrtchyan <tigran.mkrtchyan@desy.de> | 2016-05-12 11:16:38 +0200 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2016-05-17 15:47:55 -0400 |
commit | a1d1c4f11adf8a0036cd40a643543047fc952eb6 (patch) | |
tree | 09a83ba36de8c291582ebcb49136dd64caf66626 /fs/nfs/super.c | |
parent | 2e72448b07dc3ff1b7593e9bfff91db182262857 (diff) |
nfs4: client: do not send empty SETATTR after OPEN_CREATE
OPEN_CREATE with EXCLUSIVE4_1 sends initial file permission.
Ignoring fact, that server have indicated that file mod is set, client
will send yet another SETATTR request, but, as mode is already set,
new SETATTR will be empty. This is not a problem, nevertheless
an extra roundtrip and slow open on high latency networks.
This change is aims to skip extra setattr after open if there are
no attributes to be set.
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/super.c')
0 files changed, 0 insertions, 0 deletions