ceph: convert the inline data paths to folios
Get series with b4
b4 am [email protected] change-id 20260825-ceph-inline-folio-17bcdb200850Versions newest first
- v2 Latest5 patches 0 repliesNew
- v16 patches 3 repliesSuperseded
Changes in v2 from the cover letter
- Rebase onto the latest ceph-client testing branch
- Patch 4: Convert the CONFIG_CEPH_FS_INLINE_DATA=n stub of ceph_fill_inline_data() as well
- Drop the put_bvecs() patch, as it was unrelated and could underflow
the refcount of slab pages, per Sashiko
- Link to v1: https://lore.kernel.org/r/[email protected]
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | ceph: use a folio in ceph_get_caps()fs/ | +5 | 0 replies | |
| 2/5 | ceph: use a folio in the inline read branch of ceph_filemap_fault()fs/ | +12 | 0 replies | |
| 3/5 | ceph: use a folio in the READ_INLINE path of ceph_read_iter()fs/ | +10 | 0 replies | |
| 4/5 | ceph: convert ceph_fill_inline_data() to take a foliofs/ fs/ fs/ | +26 | 0 replies | |
| 5/5 | ceph: convert r_locked_page to r_locked_foliofs/ fs/ fs/ +2 more | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/5] ceph: convert the inline data paths to folios
This removes the last ceph callers of find_or_create_page() and find_get_page(), and one of the five remaining calls to __page_cache_alloc().
The remaining inline data struct page use is the single-entry page array in ceph_uninline_data(), due to the OSD client using page-based data types.
Inline data support is deprecated and, as of the current testing branch, gated behind CONFIG_CEPH_FS_INLINE_DATA ahead of its eventual removal [1]. The conversions are still worth doing in the meantime, as they remove the last ceph users of some deprecated mm APIs that we'd like to remove next cycle.
Compile-tested only, with CONFIG_CEPH_FS_INLINE_DATA both enabled and disabled.
[1] https://lore.kernel.org/ceph-devel/[email protected]/
---
Changes in v2:
- Rebase onto the latest ceph-client testing branch
- Patch 4: Convert the CONFIG_CEPH_FS_INLINE_DATA=n stub of ceph_fill_inline_data() as well
- Drop the put_bvecs() patch, as it was unrelated and could underflow
the refcount of slab pages, per Sashiko
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Tal Zussman (5):
ceph: use a folio in ceph_get_caps()
ceph: use a folio in the inline read branch of ceph_filemap_fault()
ceph: use a folio in the READ_INLINE path of ceph_read_iter()
ceph: convert ceph_fill_inline_data() to take a folio
ceph: convert r_locked_page to r_locked_folio
fs/ceph/addr.c | 70 +++++++++++++++++++++++++--------------------------- fs/ceph/caps.c | 10 ++++---- fs/ceph/file.c | 18 +++++++------- fs/ceph/inode.c | 14 +++++------ fs/ceph/mds_client.h | 2 +- fs/ceph/super.h | 12 ++++----- 6 files changed, 61 insertions(+), 65 deletions(-)
---
base-commit: 6b039a71d37a39bb90a64c4e271f90ee0588ac4a
change-id: 20260825-ceph-inline-folio-17bcdb200850
Best regards,
Signature · 1 line
Tal Zussman <[email protected]>