mbox series

[v3,0/9] Remove accesses to page->index from ceph

Message ID 20250217185119.430193-1-willy@infradead.org
Headers show
Series Remove accesses to page->index from ceph | expand

Message

Matthew Wilcox (Oracle) Feb. 17, 2025, 6:51 p.m. UTC
This is a rebase of Friday's patchset onto
git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git netfs-fixes
as requested by Dave.

The original patch 1/7 is gone as it is no longer necessary.
Patches 2-6 are retained intact as patches 1-5 in this patchset.
Patch 7 is hopefully patches 6-9 in this patchset.

Matthew Wilcox (Oracle) (9):
  ceph: Remove ceph_writepage()
  ceph: Use a folio in ceph_page_mkwrite()
  ceph: Convert ceph_find_incompatible() to take a folio
  ceph: Convert ceph_readdir_cache_control to store a folio
  ceph: Convert writepage_nounlock() to write_folio_nounlock()
  ceph: Convert ceph_check_page_before_write() to use a folio
  ceph: Remove uses of page from ceph_process_folio_batch()
  ceph: Convert ceph_move_dirty_page_in_page_array() to
    move_dirty_folio_in_page_array()
  ceph: Pass a folio to ceph_allocate_page_array()

 fs/ceph/addr.c  | 239 +++++++++++++++++++++---------------------------
 fs/ceph/dir.c   |  15 +--
 fs/ceph/inode.c |  26 +++---
 fs/ceph/super.h |   2 +-
 4 files changed, 127 insertions(+), 155 deletions(-)

Comments

Viacheslav Dubeyko Feb. 18, 2025, 12:34 a.m. UTC | #1
On Mon, 2025-02-17 at 18:51 +0000, Matthew Wilcox (Oracle) wrote:
> This is a rebase of Friday's patchset onto
> git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git netfs-fixes
> as requested by Dave.
> 
> The original patch 1/7 is gone as it is no longer necessary.
> Patches 2-6 are retained intact as patches 1-5 in this patchset.
> Patch 7 is hopefully patches 6-9 in this patchset.
> 
> Matthew Wilcox (Oracle) (9):
>   ceph: Remove ceph_writepage()
>   ceph: Use a folio in ceph_page_mkwrite()
>   ceph: Convert ceph_find_incompatible() to take a folio
>   ceph: Convert ceph_readdir_cache_control to store a folio
>   ceph: Convert writepage_nounlock() to write_folio_nounlock()
>   ceph: Convert ceph_check_page_before_write() to use a folio
>   ceph: Remove uses of page from ceph_process_folio_batch()
>   ceph: Convert ceph_move_dirty_page_in_page_array() to
>     move_dirty_folio_in_page_array()
>   ceph: Pass a folio to ceph_allocate_page_array()
> 
>  fs/ceph/addr.c  | 239 +++++++++++++++++++++---------------------------
>  fs/ceph/dir.c   |  15 +--
>  fs/ceph/inode.c |  26 +++---
>  fs/ceph/super.h |   2 +-
>  4 files changed, 127 insertions(+), 155 deletions(-)
> 

I did run xfstests with the patchset and I don't see any new or critical issues.

Tested-by: Viacheslav Dubeyko <Slava.Dubeyko@ibm.com>

Thanks,
Slava.