summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorHou Tao <houtao1@huawei.com>2020-04-28 09:54:56 +0800
committerJens Axboe <axboe@kernel.dk>2020-06-29 07:45:09 -0600
commitbfe373f608cf81b7626dfeb904001b0e867c5110 (patch)
treed7d85a79b773dd557869b52d7f676d66e272be24 /block
parent1b52671d79c4b9fdc91a85f99f69b7c91a3b1b71 (diff)
downloadlwn-bfe373f608cf81b7626dfeb904001b0e867c5110.tar.gz
lwn-bfe373f608cf81b7626dfeb904001b0e867c5110.zip
blk-mq-debugfs: update blk_queue_flag_name[] accordingly for new flags
Else there may be magic numbers in /sys/kernel/debug/block/*/state. Signed-off-by: Hou Tao <houtao1@huawei.com> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r--block/blk-mq-debugfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c
index 15df3a36e9fa..e0b2bc131bf5 100644
--- a/block/blk-mq-debugfs.c
+++ b/block/blk-mq-debugfs.c
@@ -125,6 +125,9 @@ static const char *const blk_queue_flag_name[] = {
QUEUE_FLAG_NAME(REGISTERED),
QUEUE_FLAG_NAME(SCSI_PASSTHROUGH),
QUEUE_FLAG_NAME(QUIESCED),
+ QUEUE_FLAG_NAME(PCI_P2PDMA),
+ QUEUE_FLAG_NAME(ZONE_RESETALL),
+ QUEUE_FLAG_NAME(RQ_ALLOC_TIME),
};
#undef QUEUE_FLAG_NAME