projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbaa422
)
scsi: fix regression that accidentally disabled block-based tcq
author
Christoph Hellwig
<hch@infradead.org>
Fri, 12 Sep 2014 23:00:32 +0000
(16:00 -0700)
committer
Christoph 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
patch
|
blob
|
blame
|
history
diff --git
a/include/scsi/scsi_tcq.h
b/include/scsi/scsi_tcq.h
index cdcc90b07ecba7ec8bb675bdb1e1b26498f77a24..e64583560701bb1f2f0038717457321597b39e85 100644
(file)
--- 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);