diff options
Diffstat (limited to 'drivers/scsi/scsi.c')
-rw-r--r-- | drivers/scsi/scsi.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c index 3dde8a35493f..013709f11bf1 100644 --- a/drivers/scsi/scsi.c +++ b/drivers/scsi/scsi.c | |||
@@ -805,7 +805,7 @@ void scsi_adjust_queue_depth(struct scsi_device *sdev, int tagged, int tags) | |||
805 | * is more IO than the LLD's can_queue (so there are not enuogh | 805 | * is more IO than the LLD's can_queue (so there are not enuogh |
806 | * tags) request_fn's host queue ready check will handle it. | 806 | * tags) request_fn's host queue ready check will handle it. |
807 | */ | 807 | */ |
808 | if (!sdev->host->bqt) { | 808 | if (!shost_use_blk_mq(sdev->host) && !sdev->host->bqt) { |
809 | if (blk_queue_tagged(sdev->request_queue) && | 809 | if (blk_queue_tagged(sdev->request_queue) && |
810 | blk_queue_resize_tags(sdev->request_queue, tags) != 0) | 810 | blk_queue_resize_tags(sdev->request_queue, tags) != 0) |
811 | goto out; | 811 | goto out; |
@@ -1361,6 +1361,9 @@ MODULE_LICENSE("GPL"); | |||
1361 | module_param(scsi_logging_level, int, S_IRUGO|S_IWUSR); | 1361 | module_param(scsi_logging_level, int, S_IRUGO|S_IWUSR); |
1362 | MODULE_PARM_DESC(scsi_logging_level, "a bit mask of logging levels"); | 1362 | MODULE_PARM_DESC(scsi_logging_level, "a bit mask of logging levels"); |
1363 | 1363 | ||
1364 | bool scsi_use_blk_mq = false; | ||
1365 | module_param_named(use_blk_mq, scsi_use_blk_mq, bool, S_IWUSR | S_IRUGO); | ||
1366 | |||
1364 | static int __init init_scsi(void) | 1367 | static int __init init_scsi(void) |
1365 | { | 1368 | { |
1366 | int error; | 1369 | int error; |