Skip to content

iomap, xfs: improve zero range flushing and lookup

Brian Foster linux-fsdevel linux-xfs 4 versions – Applied

Status from this message: Applied to for-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest8 patches 6 repliesApplied
  2. v38 patches 23 repliesSuperseded
  3. v25 patches 30 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v16 patches21 repliesSuperseded

Changes in v4 from the cover letter

- Minor whitespace cleanups.
v3: https://lore.kernel.org/linux-fsdevel/[email protected]/
- Inserted new patches 1-2 to fix up zoned mode zeroing.
- Appended patch 8 to correctly report COW mappings backed by data fork holes.
- Various minor fixups to logic, whitespace, comments.
v2: https://lore.kernel.org/linux-fsdevel/[email protected]/
- Patch 1 from v1 merged separately.
- Fixed up iomap_fill_dirty_folios() call in patch 5.
v1: https://lore.kernel.org/linux-fsdevel/[email protected]/

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/8xfs: fix iomap hole map reporting for zoned zero rangefs/xfs/xfs_iomap.c+10 -80 replies
2/8xfs: flush dirty pagecache over hole in zoned mode zero rangefs/xfs/xfs_iomap.c+19 -01 reply
3/8iomap, xfs: lift zero range hole mapping flush into xfsfs/iomap/buffered-io.c fs/xfs/xfs_iomap.c+23 -40 replies
4/8xfs: flush eof folio before insert range size updatefs/xfs/xfs_file.c+17 -01 reply
5/8xfs: look up cow fork extent earlier for buffered iomap_beginfs/xfs/xfs_iomap.c+25 -210 replies
6/8xfs: only flush when COW fork blocks overlap data fork holesfs/xfs/xfs_iomap.c+30 -60 replies
7/8xfs: replace zero range flush with folio batchfs/iomap/buffered-io.c fs/xfs/xfs_iomap.c+6 -180 replies
8/8xfs: report cow mappings with dirty pagecache for iomap zero rangefs/xfs/xfs_iomap.c+22 -41 reply

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchChristoph HellwigDarrick J. Wong
1/8R-b R-b
2/8R-b R-b
3/8R-b R-b
4/8R-b R-b
5/8R-b R-b
6/8R-b R-b
7/8R-b R-b
8/8R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/8] iomap, xfs: improve zero range flushing and lookup

Hi all,

No significant changes in v4. A few whitespace fixes throughout and I've added some R-b tags from v3 review. Thanks.

Brian

v4:
- Minor whitespace cleanups.
v3: https://lore.kernel.org/linux-fsdevel/[email protected]/
- Inserted new patches 1-2 to fix up zoned mode zeroing.
- Appended patch 8 to correctly report COW mappings backed by data fork holes.
- Various minor fixups to logic, whitespace, comments.
v2: https://lore.kernel.org/linux-fsdevel/[email protected]/
- Patch 1 from v1 merged separately.
- Fixed up iomap_fill_dirty_folios() call in patch 5.
v1: https://lore.kernel.org/linux-fsdevel/[email protected]/

Brian Foster (8):
xfs: fix iomap hole map reporting for zoned zero range
xfs: flush dirty pagecache over hole in zoned mode zero range iomap, xfs: lift zero range hole mapping flush into xfs
xfs: flush eof folio before insert range size update
xfs: look up cow fork extent earlier for buffered iomap_begin
xfs: only flush when COW fork blocks overlap data fork holes
xfs: replace zero range flush with folio batch
xfs: report cow mappings with dirty pagecache for iomap zero range

 fs/iomap/buffered-io.c |   6 +-
 fs/xfs/xfs_file.c      |  17 +++++
 fs/xfs/xfs_iomap.c     | 146 +++++++++++++++++++++++++++++++----------
 3 files changed, 130 insertions(+), 39 deletions(-)
Signature · 1 line
2.52.0