scsi: fix regression that accidentally disabled block-based tcq
authorChristoph Hellwig <hch@infradead.org>
Fri, 12 Sep 2014 23:00:32 +0000 (16:00 -0700)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 Sep 2014 21:11:20 +0000 (14:11 -0700)
Please try the fix below, looks like the commit broke TCQ for all drivers
using block-level tagging.

Signed-off-by: Christoph Hellwig <hch@lst.de>
include/scsi/scsi_tcq.h

index cdcc90b07ecba7ec8bb675bdb1e1b26498f77a24..e64583560701bb1f2f0038717457321597b39e85 100644 (file)
@@ -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);
 
This page took 0.025264 seconds and 5 git commands to generate.