linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] uapi: fix ioctl documentation
@ 2019-01-24  9:20 Damien Le Moal
  2019-01-24  9:20 ` [PATCH] block: Fix comment typo Damien Le Moal
  2019-01-24 18:12 ` [PATCH] uapi: fix ioctl documentation Jens Axboe
  0 siblings, 2 replies; 5+ 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] 5+ messages in thread

* [PATCH] block: Fix comment typo
  2019-01-24  9:20 [PATCH] uapi: fix ioctl documentation Damien Le Moal
@ 2019-01-24  9:20 ` Damien Le Moal
  2019-01-24 18:12   ` Jens Axboe
  2019-01-24 18:12 ` [PATCH] uapi: fix ioctl documentation Jens Axboe
  1 sibling, 1 reply; 5+ messages in thread
From: Damien Le Moal @ 2019-01-24  9:20 UTC (permalink / raw)
  To: linux-block, Jens Axboe

Fix typo in REQ_OP_ZONE_RESET description.

Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
---
 include/linux/blk_types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h
index 5c7e7f859a24..d66bf5f32610 100644
--- a/include/linux/blk_types.h
+++ b/include/linux/blk_types.h
@@ -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,
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] uapi: fix ioctl documentation
  2019-01-24  9:20 [PATCH] uapi: fix ioctl documentation Damien Le Moal
  2019-01-24  9:20 ` [PATCH] block: Fix comment typo Damien Le Moal
@ 2019-01-24 18:12 ` Jens Axboe
  1 sibling, 0 replies; 5+ 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] 5+ messages in thread

* Re: [PATCH] block: Fix comment typo
  2019-01-24  9:20 ` [PATCH] block: Fix comment typo Damien Le Moal
@ 2019-01-24 18:12   ` Jens Axboe
  0 siblings, 0 replies; 5+ 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:
> Fix typo in REQ_OP_ZONE_RESET description.

Applied, thanks.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] uapi: fix ioctl documentation
@ 2019-01-08  8:45 Damien Le Moal
  0 siblings, 0 replies; 5+ 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] 5+ messages in thread

end of thread, other threads:[~2019-01-24 18:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-24  9:20 [PATCH] uapi: fix ioctl documentation Damien Le Moal
2019-01-24  9:20 ` [PATCH] block: Fix comment typo Damien Le Moal
2019-01-24 18:12   ` Jens Axboe
2019-01-24 18:12 ` [PATCH] uapi: fix ioctl documentation Jens Axboe
  -- strict thread matches above, loose matches on Subject: below --
2019-01-08  8:45 Damien Le Moal

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).