Skip to contentSkip to conversation

block: Decode all flag names in the debugfs output

PATCH Superseded Bart Van Assche 3 participants 4 messages May 16, 2023 Block layer

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: Decode all flag names in the debugfs output

See also:
* Commit 4d337cebcb1c ("blk-mq: avoid to touch q->elevator without any protection").
* Commit 414dd48e882c ("blk-mq: add tagset quiesce interface").

Cc Christoph Hellwig <[email protected]>
Cc Damien Le Moal <[email protected]>
Cc Ming Lei <[email protected]>
---
 block/blk-mq-debugfs.c | 2 ++
 1 file changed, 2 insertions(+)
block/blk-mq-debugfs.c +2 -0
index d23a8554ec4a..a0fd20b64a46 100644
@@ -103,6 +103,8 @@ static const char *const blk_queue_flag_name[] = {
 	QUEUE_FLAG_NAME(RQ_ALLOC_TIME),
 	QUEUE_FLAG_NAME(HCTX_ACTIVE),
 	QUEUE_FLAG_NAME(NOWAIT),
+	QUEUE_FLAG_NAME(SQ_SCHED),
+	QUEUE_FLAG_NAME(SKIP_TAGSET_QUIESCE),
 };
 #undef QUEUE_FLAG_NAME
 
Reviewed-by on v1 1/1
#2 lore raw
In reply to Bart Van Assche
Quoted 10 lines · Bart Van Assche

See also:
* Commit 4d337cebcb1c ("blk-mq: avoid to touch q->elevator without any protection").
* Commit 414dd48e882c ("blk-mq: add tagset quiesce interface").

Cc Christoph Hellwig <[email protected]>
Cc Damien Le Moal <[email protected]>
Cc Ming Lei <[email protected]>

---

Looks good.

-ck

#3 lore raw
In reply to Bart Van Assche
Quoted 17 lines · Bart Van Assche

See also:
* Commit 4d337cebcb1c ("blk-mq: avoid to touch q->elevator without any protection").
* Commit 414dd48e882c ("blk-mq: add tagset quiesce interface").

Cc Christoph Hellwig <[email protected]>
Cc Damien Le Moal <[email protected]>
Cc Ming Lei <[email protected]>
---
 block/blk-mq-debugfs.c | 2 ++
 1 file changed, 2 insertions(+)
block/blk-mq-debugfs.c +0 -0
index d23a8554ec4a..a0fd20b64a46 100644

block/blk-mq-debugfs.c static const char *const blk_queue_flag_name[] = { · line 110

Quoted 8 lines
block/blk-mq-debugfs.c +2 -0
@@ -103,6 +103,8 @@ static const char *const blk_queue_flag_name[] = {
 	QUEUE_FLAG_NAME(RQ_ALLOC_TIME),
 	QUEUE_FLAG_NAME(HCTX_ACTIVE),
 	QUEUE_FLAG_NAME(NOWAIT),
+	QUEUE_FLAG_NAME(SQ_SCHED),
+	QUEUE_FLAG_NAME(SKIP_TAGSET_QUIESCE),
 };
 #undef QUEUE_FLAG_NAME
 

Looks like QUEUE_FLAG_SYNCHRONOUS is also missing.

Signature · 2 lines
Damien Le Moal
Western Digital Research