]> git.baikalelectronics.ru Git - kernel.git/commitdiff
block: add debugfs stanza for QUEUE_FLAG_NOWAIT
authorAndres Freund <andres@anarazel.de>
Mon, 28 Dec 2020 19:27:18 +0000 (11:27 -0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 29 Dec 2020 23:47:46 +0000 (16:47 -0700)
This was missed in 7bc47b587d78. Leads to the numeric value of
QUEUE_FLAG_NOWAIT (i.e. 29) showing up in
/sys/kernel/debug/block/*/state.

Fixes: 7bc47b587d7861ff120afc4bda0a0c581060eb4a
Cc: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Cc: Mike Snitzer <snitzer@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andres Freund <andres@anarazel.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-debugfs.c

index 3094542e12ae0fa468f242a897b1d08b35fbe83f..e21eed20a1551d64e6fb85c67d56450cbe1d7d32 100644 (file)
@@ -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