Skip to content

Commit e8be1cf

Browse files
Christoph HellwigJames Bottomley
authored andcommitted
[SCSI] fix regression that accidentally disabled block-based tcq
The scsi blk-mq support accidentally flipped a conditional, which lead to never enabling block based tcq when using the legacy request path. Fixes: d285203 scsi: add support for a blk-mq based I/O path. Reported-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
1 parent db9bfd6 commit e8be1cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/scsi/scsi_tcq.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ static inline void scsi_activate_tcq(struct scsi_device *sdev, int depth)
6868
return;
6969

7070
if (!shost_use_blk_mq(sdev->host) &&
71-
blk_queue_tagged(sdev->request_queue))
71+
!blk_queue_tagged(sdev->request_queue))
7272
blk_queue_init_tags(sdev->request_queue, depth,
7373
sdev->host->bqt);
7474

0 commit comments

Comments
 (0)