[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201228192717.1015629-1-andres@anarazel.de>
Date: Mon, 28 Dec 2020 11:27:18 -0800
From: Andres Freund <andres@...razel.de>
To: Mike Snitzer <snitzer@...hat.com>, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org, Jens Axboe <axboe@...nel.dk>
Cc: Andres Freund <andres@...razel.de>,
Konstantin Khlebnikov <khlebnikov@...dex-team.ru>,
Christoph Hellwig <hch@....de>
Subject: [PATCH] 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@...dex-team.ru>
Cc: Mike Snitzer <snitzer@...hat.com>
Cc: Christoph Hellwig <hch@....de>
Cc: Jens Axboe <axboe@...nel.dk>
Signed-off-by: Andres Freund <andres@...razel.de>
---
block/blk-mq-debugfs.c | 1 +
1 file changed, 1 insertion(+)
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
--
2.29.2.540.g3cf59784d4
Powered by blists - more mailing lists