]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "scsi: core: run queue if SCSI device queue isn't ready and queue is idle"
authorDouglas Anderson <dianders@chromium.org>
Mon, 20 Apr 2020 16:24:54 +0000 (09:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 Mar 2023 15:43:34 +0000 (16:43 +0100)
commit58b4ec509f1aa2d1f7f9c2faa5847a7327fbc1f0
tree187a306a4aaa69fd4d7ae2b0d20d2099efc89dc2
parentec4f71e2ef1381f417c773c83e897a8dedb4693a
Revert "scsi: core: run queue if SCSI device queue isn't ready and queue is idle"

[ Upstream commit 04a0c0d148bfe395ed73489fc3d041f508efbc6b ]

This reverts commit fb82fd7e2b5c7467c7d5bdd5e8f8163c98adaa3a.

Now that we have the patches ("blk-mq: In blk_mq_dispatch_rq_list()
"no budget" is a reason to kick") and ("blk-mq: Rerun dispatching in
the case of budget contention") we should no longer need the fix in
the SCSI code.  Revert it, resolving conflicts with other patches that
have touched this code.

With this revert (and the two new patches) I can run the script that
was in commit fb82fd7e2b5c ("scsi: core: run queue if SCSI device
queue isn't ready and queue is idle") in a loop with no failure.  If I
do this revert without the two new patches I can easily get a failure.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Stable-dep-of: c31e76bcc379 ("blk-mq: remove stale comment for blk_mq_sched_mark_restart_hctx")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/scsi_lib.c