linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] block: add debugfs stanza for QUEUE_FLAG_NOWAIT.
@ 2020-12-28 19:27 Andres Freund
  2020-12-29 23:48 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Andres Freund @ 2020-12-28 19:27 UTC (permalink / raw)
  To: Mike Snitzer, linux-block, linux-kernel, Jens Axboe
  Cc: Andres Freund, Konstantin Khlebnikov, Christoph Hellwig

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>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] block: add debugfs stanza for QUEUE_FLAG_NOWAIT.
  2020-12-28 19:27 [PATCH] block: add debugfs stanza for QUEUE_FLAG_NOWAIT Andres Freund
@ 2020-12-29 23:48 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2020-12-29 23:48 UTC (permalink / raw)
  To: Andres Freund, Mike Snitzer, linux-block, linux-kernel
  Cc: Konstantin Khlebnikov, Christoph Hellwig

On 12/28/20 12:27 PM, Andres Freund wrote:
> 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.

Applied, thanks.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-29 23:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-28 19:27 [PATCH] block: add debugfs stanza for QUEUE_FLAG_NOWAIT Andres Freund
2020-12-29 23:48 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).