[PATCH 00/11] Remove aops->writepage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I was preparing for LSFMM and noticed that actually we're almost done
with the writepage conversion.  This patchset finishes it off.
Something changed in my test environment and now it crashes before
even starting a run, so this is only build tested.

The first five patches (f2fs and vboxsf) are uninteresting.  I'll try
and get those into linux-next for the imminent merge window.  I think
the migrate and writeback patches are good, but maybe I've missed
something.  Then we come to i915 needing to tell shmem to do writeout,
so I added a module-accessible function to do that.  I also removed
the setting/clearing of reclaim, which would be easy to bring back if
it's really needed.  Patch 10 is probably the exciting one where
pageout() calls swap or shmem directly.  And then patch 11 really just
removes the op itself and the documentation for it.  I may have
over-trimmed here, but some of the documentation was so out of date it
was hard to tell what was worth preserving.

Anyway, let's see what the bots make of this.  This is against
next-20250307.

Matthew Wilcox (Oracle) (11):
  f2fs: Remove check for ->writepage
  f2fs: Remove f2fs_write_data_page()
  f2fs: Remove f2fs_write_meta_page()
  f2fs: Remove f2fs_write_node_page()
  vboxsf: Convert to writepages
  migrate: Remove call to ->writepage
  writeback: Remove writeback_use_writepage()
  shmem: Add shmem_writeout()
  i915: Use writeback_iter()
  mm: Remove swap_writepage() and shmem_writepage()
  fs: Remove aops->writepage

 Documentation/admin-guide/cgroup-v2.rst   |  2 +-
 Documentation/filesystems/fscrypt.rst     |  2 +-
 Documentation/filesystems/locking.rst     | 54 +--------------------
 Documentation/filesystems/vfs.rst         | 39 ++++------------
 block/blk-wbt.c                           |  2 +-
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c | 32 ++++---------
 fs/buffer.c                               |  4 +-
 fs/f2fs/checkpoint.c                      |  7 ---
 fs/f2fs/data.c                            | 28 -----------
 fs/f2fs/node.c                            |  8 ----
 fs/vboxsf/file.c                          | 47 ++++++++++---------
 include/linux/fs.h                        |  1 -
 include/linux/shmem_fs.h                  |  7 +--
 mm/migrate.c                              | 57 ++---------------------
 mm/page-writeback.c                       | 28 +----------
 mm/page_io.c                              |  3 +-
 mm/shmem.c                                | 33 ++++++-------
 mm/swap.h                                 |  4 +-
 mm/swap_state.c                           |  1 -
 mm/swapfile.c                             |  2 +-
 mm/vmscan.c                               | 29 ++++++------
 21 files changed, 93 insertions(+), 297 deletions(-)

-- 
2.47.2





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux