ceph: conversion to new netfs/fscache APIs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | ceph: conversion to new fscache APIfs/ fs/ fs/ +5 more | +177 | 0 replies | |
| 2/5 | ceph: convert readpage to fscache read helperfs/ fs/ | +158 | 0 replies | |
| 3/5 | ceph: plug write_begin into read helperfs/ | +61 | 0 replies | |
| 4/5 | ceph: convert ceph_readpages to ceph_readaheadfs/ | +34 | 0 replies | |
| 5/5 | ceph: add fscache writeback supportfs/ fs/ | +58 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] ceph: conversion to new netfs/fscache APIs
This patchset converts ceph to the new netfs/fscache APIs, and depends on the fscache overhaul that David Howells recently posted. It also adds support for writing to the cache. Due to the fact that we're leveraging the new netfs_* helpers, this is substantial reduction in code as well.
I've tested this pretty extensively using xfstests and kernel builds, both with and without the cache enabled. It all seems to do the right thing now.
Jeff Layton (5):
ceph: conversion to new fscache API
ceph: convert readpage to fscache read helper
ceph: plug write_begin into read helper
ceph: convert ceph_readpages to ceph_readahead
ceph: add fscache writeback support
fs/ceph/Kconfig | 3 +- fs/ceph/addr.c | 627 ++++++++++++++++++++++-------------------------- fs/ceph/cache.c | 295 +++++++---------------- fs/ceph/cache.h | 106 +++----- fs/ceph/caps.c | 12 +- fs/ceph/file.c | 14 +- fs/ceph/inode.c | 24 +- fs/ceph/super.c | 1 + fs/ceph/super.h | 1 - 9 files changed, 450 insertions(+), 633 deletions(-)
Signature · 1 line
2.28.0