diff options
Diffstat (limited to 'drivers/scsi/scsi_scan.c')
-rw-r--r-- | drivers/scsi/scsi_scan.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c index 0deb385ad4d6..9c0a520d933c 100644 --- a/drivers/scsi/scsi_scan.c +++ b/drivers/scsi/scsi_scan.c | |||
@@ -277,7 +277,8 @@ static struct scsi_device *scsi_alloc_sdev(struct scsi_target *starget, | |||
277 | if (!shost_use_blk_mq(sdev->host) && | 277 | if (!shost_use_blk_mq(sdev->host) && |
278 | (shost->bqt || shost->hostt->use_blk_tags)) { | 278 | (shost->bqt || shost->hostt->use_blk_tags)) { |
279 | blk_queue_init_tags(sdev->request_queue, | 279 | blk_queue_init_tags(sdev->request_queue, |
280 | sdev->host->cmd_per_lun, shost->bqt); | 280 | sdev->host->cmd_per_lun, shost->bqt, |
281 | shost->hostt->tag_alloc_policy); | ||
281 | } | 282 | } |
282 | scsi_change_queue_depth(sdev, sdev->host->cmd_per_lun); | 283 | scsi_change_queue_depth(sdev, sdev->host->cmd_per_lun); |
283 | 284 | ||