Re: removing the remaining blockdev_direct_IO users
Christoph Hellwig <[email protected]> Mon, 13 Jul 2026 11:58:57 +0200
| Newsgroups | org.kernel.vger.linux-nilfs,dev.linux.lists.ocfs2-devel,org.kernel.vger.linux-fsdevel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jul 10, 2026 at 09:51:09AM -0700, Viacheslav Dubeyko wrote: > On Fri, 2026-07-10 at 07:07 +0200, Christoph Hellwig wrote: > > Hi all, > > > > we have 7 users of blockdev_direct_IO and one of the lower-level > > __blockdev_direct_IO left, and I'd really like to get rid of them. > > > > The filesystems are affs, fat, hfs, hfsplus, jfs, nilfs2, udf and > > ocfs2, > > and you are the relevant maintainers. In 7.2 exfat converted > > entirely > > to iomap, which would be a really good example for a "simple" file > > system. Another options especially for the file systems supporting > > foreign formats would be to just drop direct I/O support and reduce > > the support burden. > > I like the idea. I think we can try to switch HFS/HFS+ and NILFS2 on > iomap approach. Do you have some initial patches for this? Which > particular commit(s) converted the exfat to iomap? It will be good to > take a deeper look into this conversion to estimate the complexity of > HFS/HFS+, NILFS2 modifications. Almost all commits in fs/exfat/ in 7.2-rc1, starting with 623f0aa1eca5c2a94ca1e4e5de719d062eac3b6c