]> git.baikalelectronics.ru Git - kernel.git/commit
block: Introduce BLKGETNRZONES ioctl
authorDamien Le Moal <damien.lemoal@wdc.com>
Fri, 12 Oct 2018 10:08:46 +0000 (19:08 +0900)
committerJens Axboe <axboe@kernel.dk>
Thu, 25 Oct 2018 17:17:40 +0000 (11:17 -0600)
commit75f7527bd720f2a1b4ee5d6236ad08734576105b
tree26d26b7a24b1a45799b38fb80f1ebf02a84e5424
parent521d922493408bd71937bdbcef09de07b90243aa
block: Introduce BLKGETNRZONES ioctl

Get a zoned block device total number of zones. The device can be a
partition of the whole device. The number of zones is always 0 for
regular block devices.

Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/ioctl.c
include/uapi/linux/blkzoned.h