Skip to content

iomap: zero range flush fixes

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

Status from this message: Applied to the vfs.fixes branch of the vfs/vfs.git tree.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 4 repliesApplied
  2. v34 patches 15 repliesSuperseded

Changes in v4 from the cover letter

- Whitespace and variable naming fixes.
- Split off patch 4 to a separate post.
v3: https://lore.kernel.org/linux-fsdevel/[email protected]/
- Added new patch 1 to always reset per-iter state in iomap_iter.
- Dropped iomap_iter_init() helper.
- Misc. cleanups.
- Appended patch 4 to warn on zeroing beyond EOF.
v2: https://lore.kernel.org/linux-fsdevel/[email protected]/
- Added patch 1 to lift zeroed mapping handling code into caller.
- Split unaligned start range handling at the top level.
- Retain existing conditional flush behavior (vs. unconditional flush) for the remaining range.
v1: https://lore.kernel.org/linux-fsdevel/[email protected]/

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3iomap: reset per-iter state on non-error iter advancesfs/iomap/iter.c+5 -60 replies
2/3iomap: lift zeroed mapping handling into iomap_zero_range()fs/iomap/buffered-io.c+24 -423 replies
3/3iomap: elide flush from partial eof zero rangefs/iomap/buffered-io.c+24 -40 replies

Reviews trailers per patch

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

PatchDarrick J. WongChristoph Hellwig
1/3R-b R-b
2/3R-b
3/3R-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/3] iomap: zero range flush fixes

Hi all,

Here's v4 of the zero range flush improvements. No real major changes here, mostly minor whitespace, naming issues, etc.

Brian

v4:
- Whitespace and variable naming fixes.
- Split off patch 4 to a separate post.
v3: https://lore.kernel.org/linux-fsdevel/[email protected]/
- Added new patch 1 to always reset per-iter state in iomap_iter.
- Dropped iomap_iter_init() helper.
- Misc. cleanups.
- Appended patch 4 to warn on zeroing beyond EOF.
v2: https://lore.kernel.org/linux-fsdevel/[email protected]/
- Added patch 1 to lift zeroed mapping handling code into caller.
- Split unaligned start range handling at the top level.
- Retain existing conditional flush behavior (vs. unconditional flush) for the remaining range.
v1: https://lore.kernel.org/linux-fsdevel/[email protected]/

Brian Foster (3):
iomap: reset per-iter state on non-error iter advances
iomap: lift zeroed mapping handling into iomap_zero_range()
iomap: elide flush from partial eof zero range

 fs/iomap/buffered-io.c | 88 +++++++++++++++++++++---------------------
 fs/iomap/iter.c        | 11 +++---
 2 files changed, 50 insertions(+), 49 deletions(-)
Signature · 1 line
2.47.0