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
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
->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
->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
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