mbox series

[0/5] Remove accesses to page->index from ceph

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

Message

Matthew Wilcox Nov. 29, 2024, 5:50 a.m. UTC
I know Dave Howells is working on a more comprehensive cleanup of ceph,
but I need either his work or these patches in the next merge window,
and it's possible he won't be done in time.

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 four patches I would like to see merged for v6.14.  Unless
Dave finishes his rewrite first.  I have only compile tested this,
but it's _mostly_ a one-to-one transformation.

Matthew Wilcox (Oracle) (5):
  ceph: Do not look at the index of an encrypted page
  ceph: Use a folio in ceph_page_mkwrite()
  ceph: Convert ceph_readdir_cache_control to store a folio
  ceph: Use a folio throughout writepage_nounlock()
  ceph: Use a folio in ceph_writepages_start()

 fs/ceph/addr.c   | 136 ++++++++++++++++++++++++-----------------------
 fs/ceph/crypto.h |   7 +++
 fs/ceph/dir.c    |  12 ++---
 fs/ceph/inode.c  |  26 ++++-----
 fs/ceph/super.h  |   2 +-
 5 files changed, 97 insertions(+), 86 deletions(-)