Re: [PATCH v4 0/21] fs: Fix missed inode write during fsync

Christian Brauner <[email protected]>
Newsgroups org.kernel.vger.linux-ext4,org.kernel.vger.linux-fsdevel
Message-ID <20260724-einmieten-beatmen-glossar-63c4b3962e07@brauner>
On Thu, 16 Jul 2026 16:55:22 +0200, Jan Kara wrote:
> fs: Fix missed inode write during fsync
> 
> Hello,
> 
> here is v4 of the patch series which fixes the possibly missing inode write
> during fsync(2) for filesystems using generic metadata bh tracking. This
> revision contains mostly small fixes and improvements since v3, neither
> Sashiko nor Christian found fundamental issues with this approach.
> 
> [...]

I think there's some outstanding sashiko reviews for this one. Feel free
to just send follow-up fixes if the changes are small enough! Thanks,
Jan!

---

Applied to the vfs-7.3.sync branch of the vfs/vfs.git tree.
Patches in the vfs-7.3.sync branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-7.3.sync

[01/21] affs: Drop support for metadata bh tracking
        https://git.kernel.org/vfs/vfs/c/af4c5cc0e9bb
[02/21] fs: Fix possible UAF in mark_buffer_write_io_error()
        https://git.kernel.org/vfs/vfs/c/2a04965facca
[03/21] fs: Fix missed inode writeback when racing with __writeback_single_inode
        https://git.kernel.org/vfs/vfs/c/cd7af599673d
[04/21] ext4: Allocate mapping_metadata_bhs struct on demand
        https://git.kernel.org/vfs/vfs/c/daa81c4646af
[05/21] fs: Provide way for filesystem to wait for metadata writeback
        https://git.kernel.org/vfs/vfs/c/2efb5551bfd6
[06/21] ext2: Fix lost inode updates for IS_SYNC inodes
        https://git.kernel.org/vfs/vfs/c/8818c2c722bc
[07/21] ext2: Drop __ext2_write_inode()
        https://git.kernel.org/vfs/vfs/c/9df72fe0ce0d
[08/21] ext2: Avoid unnecessary inode buffer writeback for sync(2)
        https://git.kernel.org/vfs/vfs/c/596fcded9d2c
[09/21] ext2: Fix data integrity writeout issues
        https://git.kernel.org/vfs/vfs/c/354fbcf66801
[10/21] udf: Fix data integrity writeout issues
        https://git.kernel.org/vfs/vfs/c/44472b524843
[11/21] udf: Use sync_inode_metadata() to writeout IS_SYNC inode
        https://git.kernel.org/vfs/vfs/c/9f270048c816
[12/21] udf: Drop udf_sync_inode()
        https://git.kernel.org/vfs/vfs/c/5058a428058b
[13/21] udf: Use sync_inode_metadata() in udf_evict_inode()
        https://git.kernel.org/vfs/vfs/c/7523fe432c0e
[14/21] udf: Fold udf_update_inode() into udf_write_inode()
        https://git.kernel.org/vfs/vfs/c/6f9f30e52869
[15/21] bfs: Fix data integrity writeout issues
        https://git.kernel.org/vfs/vfs/c/763d78b5dbba
[16/21] minix: Fix data integrity writeout issues
        https://git.kernel.org/vfs/vfs/c/66355af99066
[17/21] ext4: Fix data integrity writeout issues in nojournal mode
        https://git.kernel.org/vfs/vfs/c/15f87bd659d2
[18/21] fat: Fix missed inode writeback during fsync(2)
        https://git.kernel.org/vfs/vfs/c/a4d79cb28359
[19/21] fat: Remove some superfluous sync_dirty_buffer() calls
        https://git.kernel.org/vfs/vfs/c/8fea9a46ea6c
[20/21] fat: Replace fat_sync_inode() with sync_inode_metadata()
        https://git.kernel.org/vfs/vfs/c/02019179198b
[21/21] vfs: Remove mmb_fsync()
        https://git.kernel.org/vfs/vfs/c/7747b73ad29a
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.