The description of the BLKGETNRZONES zoned block device ioctl was not added as a comment together with this ioctl definition in commit 65e4e3eee83d7 ("block: Introduce BLKGETNRZONES ioctl"). Add its description here.
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -138,6 +138,7 @@ struct blk_zone_range { · 137 unmodified lines | ||
| 138 | 138 | * @BLKRESETZONE: Reset the write pointer of the zones in the specified |
| 139 | 139 | * sector range. The sector range must be zone aligned. |
| 140 | 140 | * @BLKGETZONESZ: Get the device zone size in number of 512 B sectors. |
| 141 | + * @BLKGETNRZONES: Get the total number of zones of the device. | |
| 141 | 142 | */ |
| 142 | 143 | #define BLKREPORTZONE _IOWR(0x12, 130, struct blk_zone_report) |
| 143 | 144 | #define BLKRESETZONE _IOW(0x12, 131, struct blk_zone_range) |