On 10/12/18 4:30 AM, Damien Le Moal wrote:
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.

Signed-off-by: Damien Le Moal <[email protected]>
---
  block/ioctl.c                 | 2 ++
  include/uapi/linux/blkzoned.h | 1 +
  2 files changed, 3 insertions(+)

And that's us, trying to get rid of ioctls ...

Reviewed-by: Hannes Reinecke <[email protected]>

Cheers

Hannes
--
Dr. Hannes Reinecke                Teamlead Storage & Networking
[email protected]                                   +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Reply via email to