diff options
| author | Jens Axboe <[email protected]> | 2018-11-01 22:36:27 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2018-11-07 20:42:32 +0000 |
| commit | f664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6 (patch) | |
| tree | d49b6866c48f12638ae5e8dcbddf97d0074243e4 /drivers/scsi/scsi_debug.c | |
| parent | scsi: provide mq_ops->busy() hook (diff) | |
| download | kernel-f664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6.tar.gz kernel-f664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6.zip | |
scsi: kill off the legacy IO path
This removes the legacy (non-mq) IO path for SCSI.
Cc: [email protected]
Acked-by: Himanshu Madhani <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Tested-by: Ming Lei <[email protected]>
Reviewed-by: Omar Sandoval <[email protected]>
Acked-by: Martin K. Petersen <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
| -rw-r--r-- | drivers/scsi/scsi_debug.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/scsi_debug.c b/drivers/scsi/scsi_debug.c index 60bcc6df97a9..4740f1e9dd17 100644 --- a/drivers/scsi/scsi_debug.c +++ b/drivers/scsi/scsi_debug.c @@ -5881,8 +5881,7 @@ static int sdebug_driver_probe(struct device *dev) } /* Decide whether to tell scsi subsystem that we want mq */ /* Following should give the same answer for each host */ - if (shost_use_blk_mq(hpnt)) - hpnt->nr_hw_queues = submit_queues; + hpnt->nr_hw_queues = submit_queues; sdbg_host->shost = hpnt; *((struct sdebug_host_info **)hpnt->hostdata) = sdbg_host; |
