]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
block: add zone write plug condition to debugfs zone_wplugs
authorDamien Le Moal <dlemoal@kernel.org>
Tue, 4 Nov 2025 21:22:47 +0000 (06:22 +0900)
committerJens Axboe <axboe@kernel.dk>
Wed, 5 Nov 2025 15:07:21 +0000 (08:07 -0700)
commit1efbbc641ef7d673059cded789b9c8a743c17c9a
treec840757516d04c7b27ea663a618e4a56c4382a5c
parent2b39d4a6c67d11ead8f39ec6376645d8e9d34554
block: add zone write plug condition to debugfs zone_wplugs

Modify queue_zone_wplug_show() to include the condition of a zone write
plug to the zone_wplugs debugfs attribute of a zoned block device.
To improve readability and ease of use, rather than the zone condition
raw value, the zone condition name is given using blk_zone_cond_str().

Suggested-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-zoned.c