Re: fix stale delalloc punching for COW I/O v3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 23 Sep 2024 17:28:14 +0200, Christoph Hellwig wrote:
> this is another fallout from the zoned XFS work, which stresses the XFS
> COW I/O path very heavily.  It affects normal I/O to reflinked files as
> well, but is very hard to hit there.
> 
> The main problem here is that we only punch out delalloc reservations
> from the data fork, but COW I/O places delalloc extents into the COW
> fork, which means that it won't get punched out forshort writes.
> 
> [...]

If that should take another route, let me know.

---

Applied to the vfs.iomap.v6.13 branch of the vfs/vfs.git tree.
Patches in the vfs.iomap.v6.13 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.iomap.v6.13

[01/10] iomap: factor out a iomap_last_written_block helper
        https://git.kernel.org/vfs/vfs/c/91c5635e1fdc
[02/10] iomap: remove iomap_file_buffered_write_punch_delalloc
        https://git.kernel.org/vfs/vfs/c/7e8b9d3d403b
[03/10] iomap: move locking out of iomap_write_delalloc_release
        https://git.kernel.org/vfs/vfs/c/749a89eb81a3
[04/10] xfs: factor out a xfs_file_write_zero_eof helper
        https://git.kernel.org/vfs/vfs/c/86e3e09d26c4
[05/10] xfs: take XFS_MMAPLOCK_EXCL xfs_file_write_zero_eof
        https://git.kernel.org/vfs/vfs/c/fbe5a71ceb96
[06/10] xfs: zeroing already holds invalidate_lock
        https://git.kernel.org/vfs/vfs/c/b9db9ae79580
[07/10] xfs: support the COW fork in xfs_bmap_punch_delalloc_range
        https://git.kernel.org/vfs/vfs/c/73ca182d0a9f
[08/10] xfs: share more code in xfs_buffered_write_iomap_begin
        https://git.kernel.org/vfs/vfs/c/621aa9522fcb
[09/10] xfs: set IOMAP_F_SHARED for all COW fork allocations
        https://git.kernel.org/vfs/vfs/c/4bb081d6d8e0
[10/10] xfs: punch delalloc extents from the COW fork for COW writes
        https://git.kernel.org/vfs/vfs/c/48e0d3ca3198




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux