Benjamin Coddington
f6a1bb6de4
nfs/blocklayout: Limit repeat device registration on failure
...
[ Upstream commit 614733f944 ]
Every pNFS SCSI IO wants to do LAYOUTGET, then within the layout find the
device which can drive GETDEVINFO, then finally may need to prep the device
with a reservation. This slow work makes a mess of IO latencies if one of
the later steps is going to fail for awhile.
If we're unable to register a SCSI device, ensure we mark the device as
unavailable so that it will timeout and be re-added via GETDEVINFO. This
avoids repeated doomed attempts to register a device in the IO path.
Add some clarifying comments as well.
Fixes: d869da91cc ("nfs/blocklayout: Fix premature PR key unregistration")
Signed-off-by: Benjamin Coddington <bcodding@redhat.com >
Reviewed-by: Christoph Hellwig <hch@lst.de >
Reviewed-by: Chuck Lever <chuck.lever@oracle.com >
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2024-12-05 13:54:33 +01:00
..
2024-11-17 15:09:50 +01:00
2024-07-18 09:50:08 +02:00
2024-07-11 16:14:26 +02:00
2024-11-17 15:09:53 +01:00
2024-10-04 16:37:19 +02:00
2024-09-09 09:41:47 -04:00
2024-05-31 12:31:39 +02:00
2024-11-22 15:39:53 +01:00
2024-12-05 13:52:46 +01:00
2024-10-10 12:04:10 +02:00
2024-05-31 12:31:39 +02:00
2024-06-17 20:42:57 +02:00
2024-07-15 11:14:59 -07:00
2024-10-04 16:38:46 +02:00
2023-12-28 04:57:57 -08:00
2024-12-05 13:53:28 +01:00
2024-07-02 06:21:18 +02:00
2024-12-05 13:52:43 +01:00
2024-12-05 13:53:28 +01:00
2024-12-05 13:54:13 +01:00
2024-05-28 15:57:23 +02:00
2024-06-26 12:54:11 +02:00
2024-12-05 13:54:08 +01:00
2024-12-05 13:54:26 +01:00
2024-10-22 15:51:20 +02:00
2024-12-05 13:53:48 +01:00
2024-12-05 13:53:45 +01:00
2024-07-15 11:14:59 -07:00
2024-12-05 13:52:47 +01:00
2024-07-27 15:11:59 -07:00
2024-07-15 11:14:59 -07:00
2024-07-21 17:15:46 -07:00
2024-11-08 16:30:49 +01:00
2024-12-05 13:53:22 +01:00
2024-10-10 12:03:55 +02:00
2024-12-05 13:54:28 +01:00
2024-12-05 13:54:08 +01:00
2024-07-08 14:10:03 -04:00
2024-07-15 11:14:59 -07:00
2024-12-05 13:52:47 +01:00
2024-12-05 13:54:33 +01:00
2024-07-08 13:47:24 -04:00
2024-12-05 13:54:26 +01:00
2024-11-22 15:39:53 +01:00
2024-06-03 16:37:07 +02:00
2024-12-05 13:54:11 +01:00
2024-11-08 16:31:04 +01:00
2024-12-05 13:53:41 +01:00
2024-06-20 09:46:01 +02:00
2024-05-31 12:31:41 +02:00
2024-11-01 02:02:38 +01:00
2024-12-05 13:53:38 +01:00
2024-07-18 14:48:11 -07:00
2024-05-28 11:52:53 +02:00
2024-05-28 11:52:49 +02:00
2024-10-04 16:38:06 +02:00
2024-05-31 12:31:41 +02:00
2024-08-21 22:32:58 +02:00
2024-12-05 13:54:32 +01:00
2024-08-13 13:56:46 +02:00
2024-04-23 13:27:43 +02:00
2024-05-28 11:52:45 +02:00
2024-07-22 18:25:47 -07:00
2024-11-14 13:21:09 +01:00
2024-12-05 13:54:28 +01:00
2024-11-01 02:02:34 +01:00
2024-07-21 17:56:22 -07:00
2024-12-05 13:53:29 +01:00
2024-07-15 11:31:32 -07:00
2024-06-12 11:01:31 -07:00
2024-11-08 16:30:59 +01:00
2024-06-11 11:22:57 +09:00
2024-07-21 17:15:46 -07:00
2024-08-29 06:20:44 +12:00
2024-11-01 02:02:38 +01:00
2024-12-05 13:54:15 +01:00
2024-12-05 13:54:15 +01:00
2024-08-09 20:19:00 -07:00
2024-12-05 13:54:15 +01:00
2024-05-28 12:06:51 +02:00
2024-07-18 17:03:42 -07:00
2024-07-24 20:59:29 +02:00
2023-05-17 09:16:59 +02:00
2024-11-08 16:30:49 +01:00
2024-08-30 12:25:50 +12:00
2024-07-24 20:59:29 +02:00
2024-10-04 16:38:50 +02:00
2024-12-05 13:54:15 +01:00
2024-10-04 16:38:50 +02:00
2024-05-28 15:57:23 +02:00
2024-07-24 20:59:29 +02:00
2024-10-10 12:04:11 +02:00
2024-07-02 06:20:49 +02:00
2024-07-24 20:59:29 +02:00
2024-06-05 17:03:57 +02:00
2023-10-19 11:02:47 +02:00
2024-10-10 12:03:15 +02:00
2024-07-15 12:34:01 -07:00
2024-06-19 13:13:55 -07:00
2024-09-06 11:08:58 -07:00
2024-08-12 22:03:25 +02:00
2024-07-15 11:54:04 -07:00
2024-05-31 12:31:43 +02:00
2024-07-24 10:53:12 +02:00
2024-11-01 02:02:41 +01:00
2024-07-18 09:50:08 +02:00
2024-11-01 02:02:41 +01:00
2024-10-10 12:04:07 +02:00
2024-07-24 20:59:29 +02:00
2023-11-18 14:56:16 +01:00
2023-05-19 04:30:22 +02:00
2024-06-28 14:36:43 +02:00
2024-12-05 13:52:44 +01:00
2024-06-03 15:49:26 +02:00
2024-11-01 02:02:44 +01:00
2024-05-24 13:34:07 +02:00
2023-10-18 13:26:15 +02:00
2024-07-15 14:20:22 -07:00
2024-08-22 02:07:23 -04:00
2024-04-10 16:23:02 -06:00
2024-11-08 16:30:58 +01:00
2024-07-24 10:53:14 +02:00