diff options
author | Christoph Hellwig <hch@infradead.org> | 2014-09-12 16:00:32 -0700 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2014-09-19 13:23:32 +0100 |
commit | e8be1cf58d5b4ddbf8089700df8458f432ed5934 (patch) | |
tree | 46befd9bf9c5fbb3a42792e190d642698020af2c /include/scsi | |
parent | db9bfd64b14a3a8f1868d2164518fdeab1b26ad1 (diff) | |
download | linux-e8be1cf58d5b4ddbf8089700df8458f432ed5934.tar.gz linux-e8be1cf58d5b4ddbf8089700df8458f432ed5934.tar.bz2 linux-e8be1cf58d5b4ddbf8089700df8458f432ed5934.zip |
[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: d285203cf647d7c9 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>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/scsi_tcq.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/scsi/scsi_tcq.h b/include/scsi/scsi_tcq.h index cdcc90b07ecb..e64583560701 100644 --- a/include/scsi/scsi_tcq.h +++ b/include/scsi/scsi_tcq.h @@ -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); |