Chuck Lever
a6a2cf4d91
NFS: Zero-stateid SETATTR should first return delegation
...
[ Upstream commit 644c9f40cf71969f29add32f32349e71d4995c0b ]
If a write delegation isn't available, the Linux NFS client uses
a zero-stateid when performing a SETATTR.
NFSv4.0 provides no mechanism for an NFS server to match such a
request to a particular client. It recalls all delegations for that
file, even delegations held by the client issuing the request. If
that client happens to hold a read delegation, the server will
recall it immediately, resulting in an NFS4ERR_DELAY/CB_RECALL/
DELEGRETURN sequence.
Optimize out this pipeline bubble by having the client return any
delegations it may hold on a file before it issues a
SETATTR(zero-stateid) on that file.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com >
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2020-09-23 12:10:58 +02:00
..
2020-08-19 08:15:06 +02:00
2019-08-06 19:06:49 +02:00
2020-09-09 19:04:30 +02:00
2020-08-26 10:31:05 +02:00
2019-12-13 08:51:01 +01:00
2018-12-01 09:37:27 +01:00
2020-09-17 13:45:28 +02:00
2020-06-03 08:19:29 +02:00
2020-09-09 19:04:23 +02:00
2020-08-21 11:05:31 +02:00
2019-08-06 19:06:51 +02:00
2020-05-27 17:37:32 +02:00
2018-11-13 11:08:55 -08:00
2019-07-26 09:14:02 +02:00
2019-05-08 07:21:48 +02:00
2019-03-23 20:09:59 +01:00
2020-08-19 08:15:02 +02:00
2020-02-28 16:38:59 +01:00
2019-12-05 09:20:32 +01:00
2020-01-27 14:50:02 +01:00
2020-09-09 19:04:28 +02:00
2020-09-03 11:24:24 +02:00
2020-09-03 11:24:21 +02:00
2020-06-22 09:05:08 +02:00
2018-12-17 09:24:40 +01:00
2020-07-29 10:16:46 +02:00
2020-09-23 12:10:56 +02:00
2019-12-01 09:17:10 +01:00
2020-04-17 10:48:52 +02:00
2019-05-22 07:37:40 +02:00
2020-09-03 11:24:24 +02:00
2020-08-26 10:31:01 +02:00
2020-01-27 14:50:33 +01:00
2019-12-13 08:52:43 +01:00
2019-12-13 08:51:59 +01:00
2020-08-21 11:05:38 +02:00
2020-09-23 12:10:58 +02:00
2020-07-09 09:37:11 +02:00
2020-06-22 09:05:03 +02:00
2020-06-30 23:17:00 -04:00
2020-08-21 11:05:33 +02:00
2020-02-24 08:34:53 +01:00
2020-07-22 09:32:10 +02:00
2020-06-22 09:05:06 +02:00
2020-08-19 08:15:04 +02:00
2020-01-12 12:17:20 +01:00
2020-02-24 08:34:52 +01:00
2020-08-26 10:30:59 +02:00
2018-12-17 09:24:30 +01:00
2020-05-27 17:37:30 +02:00
2020-02-24 08:34:45 +01:00
2020-08-21 11:05:38 +02:00
2020-09-17 13:45:25 +02:00
2020-06-22 09:05:01 +02:00
2020-06-03 08:19:41 +02:00
2019-07-03 13:14:44 +02:00
2019-11-06 13:05:37 +01:00
2020-06-25 15:33:06 +02:00
2020-09-03 11:24:24 +02:00
2020-01-14 20:06:57 +01:00
2020-01-09 10:19:07 +01:00
2020-05-14 07:57:21 +02:00
2020-03-05 16:42:12 +01:00
2019-05-25 18:23:26 +02:00
2019-03-05 17:58:50 +01:00
2020-01-12 12:17:20 +01:00
2020-02-11 04:34:08 -08:00
2020-09-09 19:04:27 +02:00
2020-05-20 08:18:50 +02:00
2020-05-27 17:37:29 +02:00
2020-04-17 10:48:51 +02:00
2020-09-03 11:24:28 +02:00
2020-03-25 08:06:14 +01:00
2019-05-31 06:46:05 -07:00
2018-11-21 09:19:14 +01:00
2019-12-13 08:52:56 +01:00
2020-04-02 15:28:21 +02:00
2020-01-09 10:19:00 +01:00
2020-03-05 16:42:20 +01:00
2020-04-29 16:31:26 +02:00
2019-05-25 18:23:26 +02:00
2020-03-18 07:14:21 +01:00
2019-05-04 09:20:11 +02:00
2020-05-02 17:26:01 +02:00
2019-12-01 09:17:04 +01:00
2020-01-04 19:13:26 +01:00
2019-08-25 10:47:43 +02:00
2020-08-26 10:31:02 +02:00
2019-12-17 20:35:43 +01:00
2019-10-11 18:21:39 +02:00
2020-01-04 19:13:18 +01:00
2020-08-11 15:32:34 +02:00