[Cluster-devel] [PATCH 1/4] gfs2: stop using generic_writepages in gfs2_ail1_start_one

2022-07-10 Thread Christoph Hellwig
Use filemap_fdatawrite_wbc instead of generic_writepages in gfs2_ail1_start_one so that the functin can also cope with address_space operations that only implement ->writepages and to properly account for cgroup writeback. Signed-off-by: Christoph Hellwig --- fs/gfs2/log.c | 2 +- 1 file

[Cluster-devel] [PATCH 4/4] iomap: remove iomap_writepage

2022-07-10 Thread Christoph Hellwig
Unused now. Signed-off-by: Christoph Hellwig --- fs/iomap/buffered-io.c | 15 --- include/linux/iomap.h | 3 --- 2 files changed, 18 deletions(-) diff --git a/fs/iomap/buffered-io.c b/fs/iomap/buffered-io.c index d2a9f699e17ed..1bac8bda40d0c 100644 --- a/fs/iomap/buffered-io.c

[Cluster-devel] [PATCH 3/4] zonefs: remove ->writepage

2022-07-10 Thread Christoph Hellwig
->writepage is only used for single page writeback from memory reclaim, and not called at all for cgroup writeback. Follow the lead of XFS and remove ->writepage and rely entirely on ->writepages. Signed-off-by: Christoph Hellwig --- fs/zonefs/super.c | 8 1 file changed, 8

[Cluster-devel] [PATCH 2/4] gfs2: remove ->writepage

2022-07-10 Thread Christoph Hellwig
->writepage is only used for single page writeback from memory reclaim, and not called at all for cgroup writeback. Follow the lead of XFS and remove ->writepage and rely entirely on ->writepages. Signed-off-by: Christoph Hellwig --- fs/gfs2/aops.c | 26 -- 1 file

[Cluster-devel] remove iomap_writepage

2022-07-10 Thread Christoph Hellwig
Hi all, this series removes iomap_writepage and it's callers, following what xfs has been doing for a long time. Diffstat: fs/gfs2/aops.c | 26 -- fs/gfs2/log.c |2 +- fs/iomap/buffered-io.c | 15 --- fs/zonefs/super.c |8