]> 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)
committerJens Axboe <axboe@kernel.dk>
Mon, 20 Apr 2020 16:34:56 +0000 (10:34 -0600)
commitcf109a147d063b8c2eeb99c316114eadd4cefdf3
tree64e9258f70e5b08cb7ed5a4e0e959ece7c97315c
parent968634325f2243e7de1196e5b0677565cfd036ec
Revert "scsi: core: run queue if SCSI device queue isn't ready and queue is idle"

This reverts commit 9e865ddcb801d113bc993959ddee70c5cf966a18.

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 9e865ddcb801 ("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>
drivers/scsi/scsi_lib.c