* [PATCH] uapi: fix ioctl documentation
@ 2019-01-08 8:45 Damien Le Moal
0 siblings, 0 replies; 3+ messages in thread
From: Damien Le Moal @ 2019-01-08 8:45 UTC (permalink / raw)
To: linux-block, Jens Axboe
The description of the BLKGETNRZONES zoned block device ioctl was not
added as a comment together with this ioctl definition. Add its
description here.
Fixes: 65e4e3eee83d7 ("block: Introduce BLKGETNRZONES ioctl")
Cc: stable@kernel.org
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
---
include/uapi/linux/blkzoned.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/blkzoned.h b/include/uapi/linux/blkzoned.h
index 6fa38d001d84..498eec813494 100644
--- a/include/uapi/linux/blkzoned.h
+++ b/include/uapi/linux/blkzoned.h
@@ -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)
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] uapi: fix ioctl documentation
2019-01-24 9:20 Damien Le Moal
@ 2019-01-24 18:12 ` Jens Axboe
0 siblings, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2019-01-24 18:12 UTC (permalink / raw)
To: Damien Le Moal, linux-block
On 1/24/19 2:20 AM, Damien Le Moal wrote:
> 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.
--
Jens Axboe
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] uapi: fix ioctl documentation
@ 2019-01-24 9:20 Damien Le Moal
2019-01-24 18:12 ` Jens Axboe
0 siblings, 1 reply; 3+ messages in thread
From: Damien Le Moal @ 2019-01-24 9:20 UTC (permalink / raw)
To: linux-block, Jens Axboe
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 <damien.lemoal@wdc.com>
---
include/uapi/linux/blkzoned.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/blkzoned.h b/include/uapi/linux/blkzoned.h
index 6fa38d001d84..498eec813494 100644
--- a/include/uapi/linux/blkzoned.h
+++ b/include/uapi/linux/blkzoned.h
@@ -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)
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-01-24 18:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-08 8:45 [PATCH] uapi: fix ioctl documentation Damien Le Moal
2019-01-24 9:20 Damien Le Moal
2019-01-24 18:12 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).