iomap: move the io_folios field out of struct iomap_ioend
authorChristoph Hellwig <hch@lst.de>
Thu, 7 Dec 2023 07:26:59 +0000 (08:26 +0100)
committerChristian Brauner <brauner@kernel.org>
Thu, 1 Feb 2024 13:20:10 +0000 (14:20 +0100)
commit432acd550e3607d5fea23e27f6ab4e4567deccfd
tree7a4cec024197c512be57fcb09f19d0dc3f5576d7
parent80d012e98894ac9112cbcddf2fbf276c2e4be0ec
iomap: move the io_folios field out of struct iomap_ioend

The io_folios member in struct iomap_ioend counts the number of folios
added to an ioend.  It is only used at submission time and can thus be
moved to iomap_writepage_ctx instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20231207072710.176093-4-hch@lst.de
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/iomap/buffered-io.c
include/linux/iomap.h