From: Christoph Hellwig <hch@lst.de>
To: Viacheslav Dubeyko <slava@dubeyko.com>
Cc: Christoph Hellwig <hch@lst.de>,
Christian Brauner <brauner@kernel.org>,
glaubitz@physik.fu-berlin.de, frank.li@vivo.com,
linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
vdubeyko@coreweave.com, linux-xfs@vger.kernel.org,
"Darrick J. Wong" <djwong@kernel.org>
Subject: Re: [PATCH v5 1/5] iomap: add iomap_dio_end_io() helper
Date: Wed, 25 Nov 2026 06:46:24 +0100 [thread overview]
Message-ID: <20261125054624.GB20515@lst.de> (raw)
In-Reply-To: <ac4e59cc1a1a89fc5d3b33aa481cfa8372562f2d.camel@dubeyko.com>
On Mon, Nov 23, 2026 at 02:25:52PM -0800, Viacheslav Dubeyko wrote:
> On Fri, 2026-11-20 at 19:21 +0100, Christoph Hellwig wrote:
> > On Fri, Nov 20, 2026 at 02:48:09PM +0100, Christian Brauner wrote:
> > > On Tue, Nov 17, 2026 at 04:48:40PM -0800, Viacheslav Dubeyko wrote:
> > > > The helper updates i_size without any locking, so it can be used
> > > > only
> > > > by file systems that issue all direct writes extending i_size
> > > > synchronously (IOMAP_DIO_FORCE_WAIT) under inode_lock.
> > >
> > > Meh, this should really not be named so it looks like its the
> > > default
> > > completion handler. iomap_dio_end_io() really sounds like it.
> >
> > Well, it actually should be the default handler as it does the right
> > thing for simple file systems. In fact I'd prefer to automatically
> > call it if no ->end_io is set as that would remove a lot of
> > boilerplate.
> >
> > It would be nice to do that and remove the duplicate version in
> > various
> > file systems.
>
> So, what's the final consensus on the function name? :) How should I
> name it?
iomap_dio_write_end_io can call it directly from iomap_dio_complete
for writes that don't have a ->end_io caller.
next prev parent reply other threads:[~2026-11-25 5:46 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-18 0:48 [PATCH v5 0/5] hfsplus: convert regular file I/O to iomap Viacheslav Dubeyko
2026-11-18 0:48 ` [PATCH v5 1/5] iomap: add iomap_dio_end_io() helper Viacheslav Dubeyko
2026-11-20 13:48 ` Christian Brauner
2026-11-20 18:21 ` Christoph Hellwig
2026-11-23 22:25 ` Viacheslav Dubeyko
2026-11-25 5:46 ` Christoph Hellwig [this message]
2026-11-23 22:27 ` Viacheslav Dubeyko
2026-11-18 0:48 ` [PATCH v5 2/5] hfsplus: move file related operations to file.c Viacheslav Dubeyko
2026-11-20 18:22 ` Christoph Hellwig
2026-11-23 22:29 ` Viacheslav Dubeyko
2026-11-18 0:48 ` [PATCH v5 3/5] hfsplus: rework hfsplus_get_block() logic Viacheslav Dubeyko
2026-11-20 18:23 ` Christoph Hellwig
2026-11-18 0:48 ` [PATCH v5 4/5] hfsplus: return -EIO from hfsplus_map_extent() if no extent covers the block Viacheslav Dubeyko
2026-11-20 18:23 ` Christoph Hellwig
2026-11-18 0:48 ` [PATCH v5 5/5] hfsplus: convert regular file I/O to iomap Viacheslav Dubeyko
2026-11-20 18:26 ` 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=20261125054624.GB20515@lst.de \
--to=hch@lst.de \
--cc=brauner@kernel.org \
--cc=djwong@kernel.org \
--cc=frank.li@vivo.com \
--cc=glaubitz@physik.fu-berlin.de \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-xfs@vger.kernel.org \
--cc=slava@dubeyko.com \
--cc=vdubeyko@coreweave.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.