Skip to content

Commit dc30432

Browse files
anarazelaxboe
authored andcommitted
block: add debugfs stanza for QUEUE_FLAG_NOWAIT
This was missed in 021a244. Leads to the numeric value of QUEUE_FLAG_NOWAIT (i.e. 29) showing up in /sys/kernel/debug/block/*/state. Fixes: 021a244 Cc: Konstantin Khlebnikov <[email protected]> Cc: Mike Snitzer <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Jens Axboe <[email protected]> Signed-off-by: Andres Freund <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent 875b237 commit dc30432

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

block/blk-mq-debugfs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ static const char *const blk_queue_flag_name[] = {
129129
QUEUE_FLAG_NAME(PCI_P2PDMA),
130130
QUEUE_FLAG_NAME(ZONE_RESETALL),
131131
QUEUE_FLAG_NAME(RQ_ALLOC_TIME),
132+
QUEUE_FLAG_NAME(NOWAIT),
132133
};
133134
#undef QUEUE_FLAG_NAME
134135

0 commit comments

Comments
 (0)