提交 4b8c6ba6 编写于 作者: C Christoph Hellwig 提交者: Christoph Hellwig

scsi: fix regression that accidentally disabled block-based tcq

Please try the fix below, looks like the commit broke TCQ for all drivers
using block-level tagging.
Signed-off-by: NChristoph Hellwig <hch@lst.de>
上级 cbaa4221
......@@ -68,7 +68,7 @@ static inline void scsi_activate_tcq(struct scsi_device *sdev, int depth)
return;
if (!shost_use_blk_mq(sdev->host) &&
blk_queue_tagged(sdev->request_queue))
!blk_queue_tagged(sdev->request_queue))
blk_queue_init_tags(sdev->request_queue, depth,
sdev->host->bqt);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册