projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae67479
)
Revert "block: all blk-mq requests are tagged"
author
Christoph Hellwig
<
[email protected]
>
Sun, 19 Oct 2014 15:13:57 +0000
(17:13 +0200)
committer
Christoph Hellwig
<
[email protected]
>
Tue, 28 Oct 2014 08:53:43 +0000
(09:53 +0100)
This reverts commit
fb3ccb5da71273e7f0d50b50bc879e50cedd60e7
.
SCSI-2/SPI actually needs the tagged/untagged flag in the request to
work properly. Revert this patch and add a follow on to set it in
the right place.
Signed-off-by: Christoph Hellwig <
[email protected]
>
Reviewed-by: Martin K. Petersen <
[email protected]
>
Acked-by: Jens Axboe <
[email protected]
>
Reported-by: Meelis Roos <
[email protected]
>
Tested-by: Meelis Roos <
[email protected]
>
Cc:
[email protected]
include/linux/blkdev.h
patch
|
blob
|
history
diff --git
a/include/linux/blkdev.h
b/include/linux/blkdev.h
index 0207a78a8d82274546cb2436c2568a53559317f9..51d0dc2259cf112b044a56e60aeaf6eeb32a1792 100644
(file)
--- a/
include/linux/blkdev.h
+++ b/
include/linux/blkdev.h
@@
-1136,8
+1136,7
@@
static inline bool blk_needs_flush_plug(struct task_struct *tsk)
/*
* tag stuff
*/
-#define blk_rq_tagged(rq) \
- ((rq)->mq_ctx || ((rq)->cmd_flags & REQ_QUEUED))
+#define blk_rq_tagged(rq) ((rq)->cmd_flags & REQ_QUEUED)
extern int blk_queue_start_tag(struct request_queue *, struct request *);
extern struct request *blk_queue_find_tag(struct request_queue *, int);
extern void blk_queue_end_tag(struct request_queue *, struct request *);