mbox series

[v2,0/7] Remove accesses to page->index from ceph

Message ID 20250214155710.2790505-1-willy@infradead.org (mailing list archive)
Headers show
Series Remove accesses to page->index from ceph | expand

Message

Matthew Wilcox Feb. 14, 2025, 3:57 p.m. UTC
The first patch is a bugfix.  I'm not quite clear on the consequences
of looking at the wrong index; possibly some pages get written back
that shouldn't be, or some pages don't get written back that should be.
Anyway, I think it deserves to go in and get backported.

The other six patches I would like to see merged for v6.15.  Unless
Dave finishes his rewrite first.  I have only compile tested this,
but it's _mostly_ a one-to-one transformation.

v1: https://lore.kernel.org/linux-fsdevel/20241129055058.858940-1-willy@infradead.org/

Matthew Wilcox (Oracle) (7):
  ceph: Do not look at the index of an encrypted page
  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: Use a folio in ceph_writepages_start()

 fs/ceph/addr.c   | 223 +++++++++++++++++++++--------------------------
 fs/ceph/crypto.h |   7 ++
 fs/ceph/dir.c    |  13 +--
 fs/ceph/inode.c  |  26 +++---
 fs/ceph/super.h  |   2 +-
 5 files changed, 129 insertions(+), 142 deletions(-)