[dm-devel] [PATCH 09/11] block: Expose queue nr_zones in sysfs

Christoph Hellwig hch at lst.de
Wed Oct 10 13:28:36 UTC 2018


On Wed, Oct 10, 2018 at 10:52:37AM +0900, Damien Le Moal wrote:
> Expose through sysfs the nr_zones field of a zoned block device request
> queue. This represents the total number of zones of the device
> calculated using the known disk capacity and zone size.
> 
> Exposing this value helps in debugging disk issues as well as
> facilitating scripts based use of the disk (e.g. blktests).

Looks good,

Reviewed-by: Christoph Hellwig <hch at lst.de>




More information about the dm-devel mailing list