Ye Bin
dce5c4afd0
scsi: core: Clear driver private data when retrying request
...
After commit 1bad6c4a57 ("scsi: zero per-cmd private driver data for each
MQ I/O"), the xen-scsifront/virtio_scsi/snic drivers all removed code that
explicitly zeroed driver-private command data.
In combination with commit 464a00c9e0 ("scsi: core: Kill DRIVER_SENSE"),
after virtio_scsi performs a capacity expansion, the first request will
return a unit attention to indicate that the capacity has changed. And then
the original command is retried. As driver-private command data was not
cleared, the request would return UA again and eventually time out and fail.
Zero driver-private command data when a request is retried.
Fixes: f7de50da14 ("scsi: xen-scsifront: Remove code that zeroes driver-private command data")
Fixes: c2bb87318b ("scsi: virtio_scsi: Remove code that zeroes driver-private command data")
Fixes: c3006a9264 ("scsi: snic: Remove code that zeroes driver-private command data")
Signed-off-by: Ye Bin <[email protected] >
Reviewed-by: Bart Van Assche <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected] >
2025-02-20 21:20:58 -05:00
..
2024-12-04 15:34:28 -05:00
2025-01-10 17:52:39 -05:00
2024-03-25 16:09:36 -04:00
2025-01-26 17:50:53 -08:00
2024-06-04 22:21:50 -04:00
2024-08-22 21:28:55 -04:00
2025-01-10 15:20:30 -05:00
2025-01-02 12:54:41 -05:00
2025-01-02 12:54:41 -05:00
2024-12-04 16:54:10 -05:00
2024-09-12 20:20:14 -04:00
2025-01-26 17:50:53 -08:00
2024-10-02 17:23:23 -04:00
2024-12-09 21:59:52 -05:00
2025-01-02 15:07:45 -05:00
2024-12-04 15:34:28 -05:00
2025-01-26 16:12:44 -08:00
2025-01-26 16:12:44 -08:00
2025-01-02 15:08:42 -05:00
2024-08-22 21:28:56 -04:00
2025-01-02 13:21:55 -05:00
2024-12-04 15:34:28 -05:00
2024-12-04 15:34:28 -05:00
2025-01-26 17:50:53 -08:00
2025-01-26 16:12:44 -08:00
2025-01-26 16:12:44 -08:00
2025-01-26 16:12:44 -08:00
2024-12-09 21:59:52 -05:00
2024-06-11 21:33:58 -04:00
2025-01-26 17:50:53 -08:00
2025-01-02 15:08:42 -05:00
2025-01-02 15:08:42 -05:00
2025-01-26 16:12:44 -08:00
2025-01-28 12:25:12 -08:00
2025-01-26 16:12:44 -08:00
2024-12-09 21:59:52 -05:00
2024-12-09 21:59:52 -05:00
2024-12-09 21:59:52 -05:00
2025-01-02 15:08:42 -05:00
2024-12-09 21:59:52 -05:00
2024-12-04 15:34:28 -05:00
2024-12-09 21:59:52 -05:00
2024-11-06 20:45:25 -05:00
2024-11-06 20:45:25 -05:00
2024-12-09 21:59:52 -05:00
2024-10-16 21:56:58 +02:00
2024-06-11 21:33:58 -04:00
2024-06-11 21:33:58 -04:00
2024-12-09 21:59:52 -05:00
2024-11-06 20:45:25 -05:00
2024-12-09 21:59:52 -05:00
2024-12-09 21:59:52 -05:00
2024-12-04 15:34:28 -05:00
2024-11-06 20:45:25 -05:00
2024-03-10 18:15:48 -04:00
2024-12-09 21:59:52 -05:00
2024-12-09 21:59:52 -05:00
2024-12-04 15:34:28 -05:00
2025-01-02 13:42:35 -05:00
2024-12-09 21:59:52 -05:00
2024-04-08 22:01:19 -04:00
2024-06-11 21:33:58 -04:00
2023-08-21 16:37:11 -04:00
2024-08-22 21:28:57 -04:00
2024-12-04 15:34:28 -05:00
2024-12-09 21:59:52 -05:00
2024-07-19 15:55:08 -07:00
2023-09-13 21:11:55 -04:00
2024-12-09 21:59:52 -05:00
2025-01-02 15:08:42 -05:00
2024-10-02 17:23:23 -04:00
2024-12-04 15:34:28 -05:00
2024-12-04 15:34:28 -05:00
2024-12-04 15:34:28 -05:00
2023-06-24 15:50:13 -07:00
2024-11-06 20:45:25 -05:00
2024-06-14 10:20:06 -06:00
2024-10-02 17:23:23 -04:00
2024-03-07 23:06:19 +11:00
2024-11-06 20:45:25 -05:00
2024-11-06 20:45:25 -05:00
2024-02-26 21:37:26 -05:00
2024-12-09 21:59:52 -05:00
2024-03-15 17:53:48 -07:00
2024-11-06 20:45:25 -05:00
2024-12-04 15:34:28 -05:00
2025-01-02 13:46:45 -05:00
2024-08-22 21:28:56 -04:00
2024-12-04 15:34:28 -05:00
2024-08-22 21:28:56 -04:00
2024-12-04 15:34:28 -05:00
2024-08-12 22:05:50 -04:00
2024-08-12 22:05:50 -04:00
2024-12-09 21:59:52 -05:00
2024-12-09 21:59:52 -05:00
2024-07-19 15:55:08 -07:00
2023-08-21 16:32:40 -04:00
2024-12-04 15:34:28 -05:00
2025-02-03 17:54:56 -05:00
2024-11-20 21:32:48 -05:00
2024-12-04 15:34:28 -05:00
2023-08-24 21:34:28 -04:00
2024-10-02 17:23:23 -04:00
2025-01-10 16:21:14 -05:00
2024-04-08 22:12:33 -04:00
2024-06-13 15:21:24 -04:00
2025-01-10 15:15:02 -05:00
2025-01-10 15:15:07 -05:00
2025-01-21 12:16:17 -05:00
2025-02-20 21:20:58 -05:00
2024-03-16 16:31:12 -07:00
2023-07-31 15:39:39 -04:00
2024-10-02 17:23:23 -04:00
2025-02-03 17:08:13 -05:00
2025-01-28 13:48:37 +01:00
2025-01-02 15:08:42 -05:00
2024-10-02 17:23:23 -04:00
2024-10-03 22:01:34 -04:00
2025-01-28 12:25:12 -08:00
2025-01-10 15:15:20 -05:00
2025-01-10 15:15:20 -05:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-06-14 10:20:07 -06:00
2024-11-18 16:50:08 -08:00
2025-01-20 20:27:33 -08:00
2024-06-20 15:19:17 -06:00
2024-10-02 17:23:23 -04:00
2025-01-28 13:48:37 +01:00
2024-11-06 20:45:25 -05:00
2024-11-06 20:45:25 -05:00
2024-07-28 17:06:20 -07:00
2025-01-10 07:29:23 -07:00
2024-05-15 10:05:24 -04:00
2025-01-10 18:00:38 -05:00
2025-01-10 18:00:38 -05:00
2024-12-09 21:59:52 -05:00
2025-02-03 17:28:07 -05:00
2024-11-06 21:06:44 -05:00
2024-11-06 20:45:25 -05:00
2024-11-06 20:45:25 -05:00
2025-01-26 16:12:44 -08:00
2024-08-22 21:28:55 -04:00
2024-10-03 21:48:08 -04:00
2024-12-04 15:34:28 -05:00
2024-09-12 20:25:43 -04:00