]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iomap: add read_folio_range() handler for buffered writes
authorChristoph Hellwig <hch@lst.de>
Thu, 10 Jul 2025 13:33:37 +0000 (15:33 +0200)
committerChristian Brauner <brauner@kernel.org>
Mon, 14 Jul 2025 08:51:33 +0000 (10:51 +0200)
commitc5690dd0197809bc5305f474a71b2e71e7eac0ff
tree42f77dbe9978cb2047dca9dc3c2f982a54a8b9cf
parente6caf01d3f57687777d0e15400ffdd3917ce7f72
iomap: add read_folio_range() handler for buffered writes

Add a read_folio_range() handler for buffered writes that filesystems
may pass in if they wish to provide a custom handler for synchronously
reading in the contents of a folio.

Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
[hch: renamed to read_folio_range, pass less arguments]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/20250710133343.399917-14-hch@lst.de
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Documentation/filesystems/iomap/operations.rst
fs/iomap/buffered-io.c
include/linux/iomap.h