Re: [PATCH v5 00/10] ceph: convert writeback path to folios
From: David Howells
Date: Thu Oct 08 2026 - 12:02:07 EST
Hi Tal,
Apologies for not reaching out to you before, but I keep getting diverted on
to other thing - usually by AI patch reviews.
Just to note that I have patches in the works to convert ceph to use netfslib
and thus strip out all the dealing with pages/folios as much as possible -
even getting down into the protocol and replacing the five different page
carrying types with the same structure as is at the core of netfslib (bvecq
chains) and pass the bvecq chains all the way into sendmsg() for transmission.
This also lets me remove ceph's use of the PG_private_2 flag which the MM
people would really like back. That's then replaced - transparently inside of
netfslib - by setting a special ->private value on folios read from the
server, marking them dirty and then having writeback write them to the cache.
It's unfortunately stalled on getting some netfslib changes in, though there
may be hope for making some progress in this merge window.
If you go to my tree here:
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/
The netfs-next[12345] branches are the prerequisite patches I'm trying to get
in at the moment, divided into five batches.
On top of that is my netfs-crypt branch that has content crypto support
And then on top of that is my ceph-iter branch. Note that it's not fully
working as yet and I'm still testing and fixing bits of it.
If you want to push these patches first, I can always adapt my patches to take
account of them.
David