Skip to content

Commit

Permalink
block: add debugfs stanza for QUEUE_FLAG_NOWAIT
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
anarazel authored and axboe committed Dec 29, 2020
1 parent 875b237 commit dc30432
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions block/blk-mq-debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ static const char *const blk_queue_flag_name[] = {
QUEUE_FLAG_NAME(PCI_P2PDMA),
QUEUE_FLAG_NAME(ZONE_RESETALL),
QUEUE_FLAG_NAME(RQ_ALLOC_TIME),
QUEUE_FLAG_NAME(NOWAIT),
};
#undef QUEUE_FLAG_NAME

Expand Down

0 comments on commit dc30432

Please sign in to comment.