From: "Darrick J. Wong" <djwong@kernel.org>
To: Christoph Hellwig <hch@infradead.org>
Cc: John Garry <john.g.garry@oracle.com>,
"Ritesh Harjani (IBM)" <ritesh.list@gmail.com>,
linux-xfs@vger.kernel.org, ojaswin@linux.ibm.com,
linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH 1/2] Documentation: iomap: Add missing flags description
Date: Mon, 7 Apr 2025 09:43:21 -0700 [thread overview]
Message-ID: <20250407164321.GE6266@frogsfrogsfrogs> (raw)
In-Reply-To: <Z_ORuFqb-KErLgEG@infradead.org>
On Mon, Apr 07, 2025 at 01:50:00AM -0700, Christoph Hellwig wrote:
> On Fri, Apr 04, 2025 at 10:36:32AM +0100, John Garry wrote:
> > > @@ -243,6 +243,11 @@ The fields are as follows:
> > > regular file data.
> > > This is only useful for FIEMAP.
> > > + * **IOMAP_F_BOUNDARY**: This indicates that I/O and I/O completions
> > > + for this iomap must never be merged with the mapping before it.
> >
> > This is just effectively the same comment as in the code - what's the use in
> > this?
>
> Darrick asked for this file to have full comments. I'm more on your
> side here as a lot of this seem redundant.
Yes, some of it duplicates iomap.h's more terse comments. I'm willing
to be flexible about some of this, so long as the documentation helps
the /next/ person to understand iomap and how to use it.
> > > + Currently XFS uses this to prevent merging of ioends across RTG
> > > + (realtime group) boundaries.
> > > +
> > > * **IOMAP_F_PRIVATE**: Starting with this value, the upper bits can
> > > be set by the filesystem for its own purposes.
> >
> > Is this comment now out of date according to your change in 923936efeb74?
>
> Also we probably should not detail file system behavior here, but a
> high level description of what it is useful.
Agreed (now).
--D
next prev parent reply other threads:[~2025-04-07 16:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-03 18:22 [PATCH 1/2] Documentation: iomap: Add missing flags description Ritesh Harjani (IBM)
2025-04-03 18:22 ` [PATCH 2/2] iomap: trace: Add missing flags to [IOMAP_|IOMAP_F_]FLAGS_STRINGS Ritesh Harjani (IBM)
2025-04-07 18:48 ` Darrick J. Wong
2025-04-04 9:36 ` [PATCH 1/2] Documentation: iomap: Add missing flags description John Garry
2025-04-04 10:23 ` Ritesh Harjani
2025-04-07 8:45 ` John Garry
2025-04-07 16:37 ` Darrick J. Wong
2025-04-07 8:50 ` Christoph Hellwig
2025-04-07 16:43 ` Darrick J. Wong [this message]
2025-04-07 16:17 ` Darrick J. Wong
2025-04-07 16:25 ` Darrick J. Wong
2025-04-07 18:30 ` Ritesh Harjani
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=20250407164321.GE6266@frogsfrogsfrogs \
--to=djwong@kernel.org \
--cc=hch@infradead.org \
--cc=john.g.garry@oracle.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-xfs@vger.kernel.org \
--cc=ojaswin@linux.ibm.com \
--cc=ritesh.list@gmail.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