public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Wilfred Mallawa <wilfred.opensource@gmail.com>
To: "Darrick J . Wong" <djwong@kernel.org>, Christoph Hellwig <hch@lst.de>
Cc: Alistair Francis <alistair.francis@wdc.com>,
	Damien Le'Moal <dlemoal@kernel.org>,
	linux-xfs@vger.kernel.org,
	Wilfred Mallawa <wilfred.mallawa@wdc.com>
Subject: [PATCH 2/3] man/xfs_rtgroup_geometry: add rg_writepointer field description
Date: Fri, 13 Mar 2026 10:24:55 +1000	[thread overview]
Message-ID: <20260313002456.3823811-2-wilfred.opensource@gmail.com> (raw)
In-Reply-To: <20260313002456.3823811-1-wilfred.opensource@gmail.com>

From: Wilfred Mallawa <wilfred.mallawa@wdc.com>

Update the man/man2/ioctl_xfs_rtgroup_geometry.2 to add a description
for the new rg_writepointer field.

Signed-off-by: Wilfred Mallawa <wilfred.mallawa@wdc.com>
---
 man/man2/ioctl_xfs_rtgroup_geometry.2 | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/man/man2/ioctl_xfs_rtgroup_geometry.2 b/man/man2/ioctl_xfs_rtgroup_geometry.2
index 37e229b43..5d264acac 100644
--- a/man/man2/ioctl_xfs_rtgroup_geometry.2
+++ b/man/man2/ioctl_xfs_rtgroup_geometry.2
@@ -23,7 +23,8 @@ struct xfs_rtgroup_geometry {
 	__u32  rg_sick;
 	__u32  rg_checked;
 	__u32  rg_flags;
-	__u32  rg_reserved[27];
+	__u32  rg_writepointer;
+	__u32  rg_reserved[26];
 };
 .fi
 .in
@@ -39,6 +40,11 @@ filesystem blocks.
 The caller can set this field to change the operational behavior of the ioctl.
 Currently no flags are defined, so this field must be zero.
 .TP
+.I rg_writepointer
+For zoned devices, return the writepointer block offset into the respective
+realtime group. This field is valid only if the XFS_RTGROUP_GEOM_WRITEPOINTER
+flag is set in rg_flags.
+.TP
 .IR rg_reserved " and " rg_pad
 All reserved fields will be set to zero on return.
 .PP
-- 
2.53.0


  reply	other threads:[~2026-03-13  0:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-13  0:24 [PATCH 1/3] xfs: add write pointer to xfs_rtgroup_geometry Wilfred Mallawa
2026-03-13  0:24 ` Wilfred Mallawa [this message]
2026-03-13  3:27   ` [PATCH 2/3] man/xfs_rtgroup_geometry: add rg_writepointer field description Darrick J. Wong
2026-03-16  9:04   ` Christoph Hellwig
2026-03-13  0:24 ` [PATCH 3/3] xfs_io: report rg_writepointer in report rg_info() Wilfred Mallawa
2026-03-13  3:28   ` Darrick J. Wong
2026-03-16  9:04   ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260313002456.3823811-2-wilfred.opensource@gmail.com \
    --to=wilfred.opensource@gmail.com \
    --cc=alistair.francis@wdc.com \
    --cc=djwong@kernel.org \
    --cc=dlemoal@kernel.org \
    --cc=hch@lst.de \
    --cc=linux-xfs@vger.kernel.org \
    --cc=wilfred.mallawa@wdc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox