History

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.

Damien Le Moal committed 8 years ago

Commit 65e4e3e1 parent 72cd8752 files · +3 −0Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/blkzoned.h+1−0
@@ -142,5 +142,6 @@ struct blk_zone_range { · 141 unmodified lines
142142 #define BLKREPORTZONE _IOWR(0x12, 130, struct blk_zone_report)
143143 #define BLKRESETZONE _IOW(0x12, 131, struct blk_zone_range)
144144 #define BLKGETZONESZ _IOW(0x12, 132, __u32)
145+#define BLKGETNRZONES _IOW(0x12, 133, __u32)
145146
146147 #endif /* _UAPI_BLKZONED_H */