uapi: fix ioctl documentation
Subsystems (2)
PATCH 1/1 uapi: fix ioctl documentation
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.
Signed-off-by Damien Le Moal <[email protected]>
--- include/uapi/linux/blkzoned.h | 1 + 1 file changed, 1 insertion(+)
include/uapi/linux/blkzoned.h +1 -0
@@ -138,6 +138,7 @@ struct blk_zone_range {* @BLKRESETZONE: Reset the write pointer of the zones in the specified * sector range. The sector range must be zone aligned. * @BLKGETZONESZ: Get the device zone size in number of 512 B sectors. +* @BLKGETNRZONES: Get the total number of zones of the device. */ #define BLKREPORTZONE _IOWR(0x12, 130, struct blk_zone_report)#define BLKRESETZONE _IOW(0x12, 131, struct blk_zone_range)
Signature · 1 line
2.20.1
PATCH 1/1 block: Fix comment typo
Fix typo in REQ_OP_ZONE_RESET description.
Signed-off-by Damien Le Moal <[email protected]>
--- include/linux/blk_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/blk_types.h +1 -1
@@ -287,7 +287,7 @@ enum req_opf {REQ_OP_DISCARD =3 ,/* securely erase sectors */ REQ_OP_SECURE_ERASE =5 , -/* seset a zone write pointer */ +/* reset a zone write pointer */ REQ_OP_ZONE_RESET =6 ,/* write the same sector many times */ REQ_OP_WRITE_SAME = 7,
Signature · 1 line
2.20.1
Re: [PATCH] block: Fix comment typo
Quoted 1 line · Damien Le Moal
Fix typo in
REQ_OP_ZONE_RESETdescription.
Applied, thanks.
Signature · 1 line
Jens Axboe
Quoted 4 lines · Damien Le Moal
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.
Applied, thanks.
Signature · 1 line
Jens Axboe