diff options
author | Hou Tao <houtao1@huawei.com> | 2020-04-28 09:54:56 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-06-29 07:45:09 -0600 |
commit | bfe373f608cf81b7626dfeb904001b0e867c5110 (patch) | |
tree | d7d85a79b773dd557869b52d7f676d66e272be24 /include/linux/blkdev.h | |
parent | 1b52671d79c4b9fdc91a85f99f69b7c91a3b1b71 (diff) | |
download | lwn-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 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 8fd900998b4e..57241417ff2f 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -590,6 +590,7 @@ struct request_queue { u64 write_hints[BLK_MAX_WRITE_HINTS]; }; +/* Keep blk_queue_flag_name[] in sync with the definitions below */ #define QUEUE_FLAG_STOPPED 0 /* queue is stopped */ #define QUEUE_FLAG_DYING 1 /* queue being torn down */ #define QUEUE_FLAG_NOMERGES 3 /* disable merge attempts */ |