summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2020-12-28 11:27:18 -0800
committerJens Axboe <axboe@kernel.dk>2020-12-29 16:47:46 -0700
commitdc30432605bbbd486dfede3852ea4d42c40a84b4 (patch)
tree4ef1c37af4886b81375cf087a03d0db82ef52b24 /block
parent875b2376fd663832bf45f7285c9d26cb8c52929a (diff)
downloadlinux-dc30432605bbbd486dfede3852ea4d42c40a84b4.tar.bz2
block: add debugfs stanza for QUEUE_FLAG_NOWAIT
This was missed in 021a24460dc2. Leads to the numeric value of QUEUE_FLAG_NOWAIT (i.e. 29) showing up in /sys/kernel/debug/block/*/state. Fixes: 021a24460dc28e7412aecfae89f60e1847e685c0 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>
Diffstat (limited to 'block')
-rw-r--r--block/blk-mq-debugfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c
index 3094542e12ae..e21eed20a155 100644
--- a/block/blk-mq-debugfs.c
+++ b/block/blk-mq-debugfs.c
@@ -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