Benjamin Coddington d76c769c8d pnfs/blocklayout: Don't add zero-length pnfs_block_dev
We noticed a SCSI device that refused to allow READ CAPACITY when the
device had a PR with exclusive access, registrants only.  The result of
this situation is that the blocklayout driver adds a pnfs_block_dev of zero
length which always fails the offset_in_map tests.  Instead of continuously
trying to do pNFS for this case, just mark the device as unavailable which
will allow the client to fallback to the MDS for the duration of
PNFS_DEVICE_RETRY_TIMEOUT.

Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2024-01-04 10:47:56 -05:00
..
2023-08-24 13:24:15 -04:00
2023-03-06 09:57:12 +01:00
2023-03-06 09:57:12 +01:00
2023-11-08 13:39:16 -08:00
2023-11-08 13:39:16 -08:00
2023-10-09 16:24:20 +02:00
2023-11-08 13:39:16 -08:00
2023-08-19 10:26:29 -04:00
2022-11-27 22:10:00 -05:00