Skip to content

iomap: buffered io changes

Joanne Koong linux-fsdevel 4 versions – Applied

Status from this message: Applied to the vfs-6.19.iomap 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 Latest9 patches 10 repliesApplied
  2. v38 patches 14 repliesSuperseded
  3. v28 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v19 patches36 repliesSuperseded

Changes in v4 from the cover letter

* Add patch 1 for renaming bytes_pending/bytes_accounted
* Fix bug in patch 5 to account for the case where the folio has an ifs but iomap_read_init() was never called.
* Add Darrick's Reviewed-bys
* Rebase

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/9iomap: rename bytes_pending/bytes_accounted to bytes_submitted/bytes_not_submittedfs/iomap/buffered-io.c+20 -190 replies
2/9iomap: account for unaligned end offsets when truncating read rangefs/iomap/buffered-io.c+20 -20 replies
3/9docs: document iomap writeback's iomap_finish_folio_write() requirementDocumentation/filesystems/iomap/operations.rst include/linux/iomap.h+7 -00 replies
4/9iomap: optimize pending async writeback accountingfs/fuse/file.c fs/iomap/buffered-io.c fs/iomap/ioend.c +1 more+36 -300 replies
5/9iomap: simplify ->read_folio_range() error handling for readsDocumentation/filesystems/iomap/operations.rst fs/fuse/file.c fs/iomap/buffered-io.c +1 more+41 -442 replies
6/9iomap: simplify when reads can be skipped for writesfs/iomap/buffered-io.c+6 -30 replies
7/9iomap: use loff_t for file positions and offsets in writeback codeblock/fops.c fs/fuse/file.c fs/gfs2/bmap.c +4 more+23 -197 replies
8/9iomap: use find_next_bit() for dirty bitmap scanningfs/iomap/buffered-io.c+41 -200 replies
9/9iomap: use find_next_bit() for uptodate bitmap scanningfs/iomap/buffered-io.c+32 -200 replies

Reviews trailers per patch

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

PatchChristoph HellwigDarrick J. Wong
1/9R-b R-b
2/9R-b R-b
3/9R-b R-b
4/9R-b R-b
5/9R-b R-b
6/9R-b R-b
7/9R-b R-b
8/9R-b
9/9R-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/9] iomap: buffered io changes

This series is on top of the vfs-6.19.iomap branch (head commit ca3557a68684) in Christian's vfs tree.

Thanks,
Joanne

Changelog
---------

v3: https://lore.kernel.org/linux-fsdevel/[email protected]/
v3 -> v4:
* Add patch 1 for renaming bytes_pending/bytes_accounted
* Fix bug in patch 5 to account for the case where the folio has an ifs but iomap_read_init() was never called.
* Add Darrick's Reviewed-bys
* Rebase

v2: https://lore.kernel.org/linux-fsdevel/[email protected]/
v2 -> v3:
* Fix race when writing back all bytes of a folio (patch 3)
* Rename from bytes_pending to bytes_submitted (patch 3)
* Add more comments about logic (patch 3)
* Change bytes_submitted from unsigned to size_t (patch 3) (Matthew)

v1: https://lore.kernel.org/linux-fsdevel/[email protected]/
v1 -> v2:
* Incorporate Christoph's feedback (drop non-block-aligned writes patch, fix bitmap scanning function comments, use more concise variable name, etc)
* For loff_t patch, fix up .writeback_range() callback for zonefs, gfs2, and block

Joanne Koong (9):
iomap: rename bytes_pending/bytes_accounted to
bytes_submitted/bytes_not_submitted
iomap: account for unaligned end offsets when truncating read range
docs: document iomap writeback's iomap_finish_folio_write()
requirement
iomap: optimize pending async writeback accounting
iomap: simplify ->read_folio_range() error handling for reads
iomap: simplify when reads can be skipped for writes
iomap: use loff_t for file positions and offsets in writeback code
iomap: use find_next_bit() for dirty bitmap scanning
iomap: use find_next_bit() for uptodate bitmap scanning

 .../filesystems/iomap/operations.rst          |  10 +-
 block/fops.c                                  |   3 +-
 fs/fuse/file.c                                |  18 +-
 fs/gfs2/bmap.c                                |   3 +-
 fs/iomap/buffered-io.c                        | 307 +++++++++++-------
 fs/iomap/ioend.c                              |   2 -
 fs/xfs/xfs_aops.c                             |   8 +-
 fs/zonefs/file.c                              |   3 +-
 include/linux/iomap.h                         |  15 +-
 9 files changed, 219 insertions(+), 150 deletions(-)
Signature · 1 line
2.47.3