提交 cf366fae 编写于 作者: Y Yu Kuai 提交者: Yang Yingliang

blk-mq: fix conflicting queue flags

hulk inclusion
category: bugfix
bugzilla: NA
CVE: NA

-------------------------------------------------

QUEUE_FLAG_RQ_ALLOC_TIME and QUEUE_FLAG_SCSI_PASSTHROUGH are both
defined to 27.

Fixes: 07b4948adaf9 ("blk-mq: add optional request->alloc_time_ns")
Signed-off-by: NYu Kuai <yukuai3@huawei.com>
Reviewed-by: NYufen Yu <yuyufen@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 bfbbc08d
......@@ -725,8 +725,8 @@ struct request_queue {
#define QUEUE_FLAG_REGISTERED 26 /* queue has been registered to a disk */
#define QUEUE_FLAG_SCSI_PASSTHROUGH 27 /* queue supports SCSI commands */
#define QUEUE_FLAG_QUIESCED 28 /* queue has been quiesced */
#define QUEUE_FLAG_RQ_ALLOC_TIME 27 /* record rq->alloc_time_ns */
#define QUEUE_FLAG_FORECE_QUIESCE 29 /* force quiesce when cleanup queue */
#define QUEUE_FLAG_FORECE_QUIESCE 29 /* force quiesce when cleanup queue */
#define QUEUE_FLAG_RQ_ALLOC_TIME 30 /* record rq->alloc_time_ns */
#define QUEUE_FLAG_DEFAULT ((1 << QUEUE_FLAG_IO_STAT) | \
(1 << QUEUE_FLAG_SAME_COMP) | \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册