Ming Lei
aceb4ab968
scsi: core: Move scsi_host_busy() out of host lock if it is for per-command
...
[ Upstream commit 4e6c9011990726f4d175e2cdfebe5b0b8cce4839 ]
Commit 4373534a9850 ("scsi: core: Move scsi_host_busy() out of host lock
for waking up EH handler") intended to fix a hard lockup issue triggered by
EH. The core idea was to move scsi_host_busy() out of the host lock when
processing individual commands for EH. However, a suggested style change
inadvertently caused scsi_host_busy() to remain under the host lock. Fix
this by calling scsi_host_busy() outside the lock.
Fixes: 4373534a9850 ("scsi: core: Move scsi_host_busy() out of host lock for waking up EH handler")
Cc: Sathya Prakash Veerichetty <safhya.prakash@broadcom.com>
Cc: Bart Van Assche <bvanassche@acm.org>
Cc: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20240203024521.2006455-1-ming.lei@redhat.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-02-16 19:10:53 +01:00
..
2024-01-01 12:42:45 +00:00
2023-07-31 11:28:55 -04:00
2023-08-21 17:50:59 -04:00
2024-02-05 20:14:19 +00:00
2023-03-24 19:19:21 -04:00
2023-12-13 18:45:17 +01:00
2024-01-25 15:35:20 -08:00
2024-01-01 12:42:36 +00:00
2023-05-26 13:52:19 -07:00
2023-03-09 22:00:38 -05:00
2023-04-26 16:07:23 -07:00
2023-04-27 11:53:57 -07:00
2023-03-16 23:02:23 -04:00
2023-08-21 17:13:56 -04:00
2023-04-27 16:36:55 -07:00
2023-08-21 17:13:56 -04:00
2024-01-25 15:35:22 -08:00
2024-02-05 20:14:23 +00:00
2023-11-28 17:19:42 +00:00
2023-03-16 23:36:36 -04:00
2024-02-05 20:14:34 +00:00
2024-02-05 20:14:20 +00:00
2023-09-09 12:01:33 -07:00
2024-02-05 20:14:23 +00:00
2023-11-28 17:19:55 +00:00
2024-02-05 20:14:19 +00:00
2023-11-28 17:19:55 +00:00
2023-08-21 17:50:58 -04:00
2023-05-31 19:59:26 -04:00
2023-09-13 20:08:40 -04:00
2023-09-05 05:57:49 -04:00
2023-08-30 20:56:24 -04:00
2023-11-28 17:19:55 +00:00
2023-07-25 21:51:04 -04:00
2023-08-24 22:58:36 -04:00
2023-08-24 22:30:32 -04:00
2023-05-31 18:04:30 -04:00
2023-05-26 13:52:19 -07:00
2023-03-24 19:19:20 -04:00
2023-01-12 00:09:52 -05:00
2023-05-22 17:31:56 -04:00
2022-09-25 13:06:00 -04:00
2023-07-31 14:38:17 -04:00
2023-03-24 19:19:20 -04:00
2023-03-24 19:19:20 -04:00
2023-03-24 19:19:20 -04:00
2023-03-24 19:19:20 -04:00
2023-03-24 19:19:20 -04:00
2023-03-24 19:19:21 -04:00
2023-03-24 19:19:21 -04:00
2023-03-24 19:19:22 -04:00
2022-02-22 21:11:03 -05:00
2023-03-24 19:19:21 -04:00
2023-03-24 19:19:20 -04:00
2023-06-12 08:04:04 -06:00
2023-03-24 19:19:21 -04:00
2023-03-24 19:19:22 -04:00
2023-03-24 19:19:22 -04:00
2023-03-24 19:19:22 -04:00
2023-03-24 19:19:22 -04:00
2022-08-01 19:52:03 -04:00
2023-03-24 19:19:22 -04:00
2023-08-21 16:37:11 -04:00
2023-08-21 16:42:03 -04:00
2023-03-24 20:13:03 -04:00
2023-05-26 13:52:19 -07:00
2022-09-25 13:04:17 -04:00
2023-03-24 19:19:56 -04:00
2022-02-22 21:11:04 -05:00
2023-03-24 19:19:56 -04:00
2022-02-22 21:11:05 -05:00
2023-04-24 23:11:47 -04:00
2023-04-18 23:01:23 -04:00
2023-01-18 18:41:12 -05:00
2023-09-17 17:46:13 +01:00
2023-06-24 15:50:13 -07:00
2023-03-24 19:19:22 -04:00
2023-08-21 16:32:40 -04:00
2022-06-21 21:19:23 -04:00
2023-03-24 19:19:57 -04:00
2023-03-24 19:19:57 -04:00
2022-02-27 21:35:30 -05:00
2023-03-24 19:19:22 -04:00
2022-02-22 21:11:03 -05:00
2022-06-27 22:56:21 -04:00
2023-03-24 20:27:17 -04:00
2022-02-22 21:11:05 -05:00
2023-03-24 19:19:57 -04:00
2022-02-27 21:34:02 -05:00
2023-03-24 19:19:57 -04:00
2023-08-24 22:11:29 -04:00
2023-01-12 00:11:11 -05:00
2023-03-24 19:19:58 -04:00
2023-03-24 19:19:58 -04:00
2023-06-21 21:13:00 -04:00
2022-02-22 21:11:07 -05:00
2023-05-22 15:13:03 -10:00
2022-02-22 21:11:03 -05:00
2023-03-24 19:19:58 -04:00
2022-02-22 21:11:06 -05:00
2023-08-21 17:13:56 -04:00
2022-03-29 23:32:26 -04:00
2023-09-05 05:26:49 -04:00
2023-08-21 16:32:40 -04:00
2023-03-24 19:19:58 -04:00
2023-03-24 19:19:59 -04:00
2022-02-22 21:11:06 -05:00
2022-02-22 21:11:02 -05:00
2022-02-22 21:11:02 -05:00
2023-08-21 16:37:11 -04:00
2023-08-24 21:34:28 -04:00
2023-06-12 08:04:04 -06:00
2023-05-31 11:05:34 -04:00
2023-07-05 21:37:43 -04:00
2023-08-24 22:13:03 -04:00
2023-03-16 22:54:43 -04:00
2024-02-16 19:10:53 +01:00
2023-06-12 08:04:04 -06:00
2024-02-16 19:10:53 +01:00
2022-03-29 23:29:19 -04:00
2021-12-22 23:38:29 -05:00
2024-02-05 20:14:34 +00:00
2023-07-31 15:39:39 -04:00
2023-10-10 14:42:22 +09:00
2023-04-13 11:49:20 -07:00
2023-08-24 22:11:29 -04:00
2023-06-16 12:19:59 -04:00
2023-07-25 21:48:13 -04:00
2023-05-22 17:05:19 -04:00
2023-01-13 21:34:09 -05:00
2023-06-16 12:19:59 -04:00
2023-09-21 21:07:23 -04:00
2022-05-08 14:28:18 -04:00
2023-02-21 22:00:32 -05:00
2022-12-01 03:13:55 +00:00
2023-07-05 21:58:10 -04:00
2023-12-13 18:44:55 +01:00
2023-09-28 21:23:18 +09:00
2023-04-27 11:53:57 -07:00
2023-07-19 23:12:13 -04:00
2023-03-24 19:19:59 -04:00
2023-01-13 21:34:09 -05:00
2021-12-22 23:41:13 -05:00
2023-06-30 11:57:07 -07:00
2022-03-08 19:40:01 -07:00
2023-08-24 22:16:28 -04:00
2022-03-08 19:40:00 -07:00
2023-05-31 11:36:40 -04:00
2023-08-30 20:56:24 -04:00
2022-02-22 21:11:03 -05:00
2023-03-24 19:19:22 -04:00
2023-07-23 15:49:41 -04:00
2023-08-24 22:11:29 -04:00
2022-04-06 23:01:54 -04:00
2022-06-07 21:30:56 -04:00
2022-09-25 13:29:53 -04:00
2022-09-25 13:29:53 -04:00
2023-03-24 19:19:59 -04:00
2022-02-22 21:11:07 -05:00
2023-08-24 22:06:44 -04:00
2022-02-22 21:11:07 -05:00
2022-03-30 00:05:42 -04:00
2023-03-24 19:19:22 -04:00