[PATCH 00/11] netfs: Miscellaneous cleanups
David Howells
dhowells at redhat.com
Mon May 19 06:47:56 PDT 2025
Hi Christian,
Here are some miscellaneous very minor cleanups for netfslib for the next
merge window, primarily from Max Kellermann, if you could pull them.
(0) Update the netfs docs. This is already in the VFS tree, but it's a
dependency for other patches here.
(1) Remove NETFS_SREQ_SEEK_DATA_READ.
(2) Remove NETFS_INVALID_WRITE.
(3) Remove NETFS_ICTX_WRITETHROUGH.
(4) Remove NETFS_READ_HOLE_CLEAR.
(5) Reorder structs to eliminate holes.
(6) Remove netfs_io_request::ractl.
(7) Only provide proc_link field if CONFIG_PROC_FS=y.
(8) Remove folio_queue::marks3.
(9) Remove NETFS_RREQ_DONT_UNLOCK_FOLIOS.
(10) Remove NETFS_RREQ_BLOCKED.
The patches can also be found here:
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=netfs-next
Thanks,
David
David Howells (1):
netfs: Update main API document
Max Kellermann (10):
fs/netfs: remove unused flag NETFS_SREQ_SEEK_DATA_READ
fs/netfs: remove unused source NETFS_INVALID_WRITE
fs/netfs: remove unused flag NETFS_ICTX_WRITETHROUGH
fs/netfs: remove unused enum choice NETFS_READ_HOLE_CLEAR
fs/netfs: reorder struct fields to eliminate holes
fs/netfs: remove `netfs_io_request.ractl`
fs/netfs: declare field `proc_link` only if CONFIG_PROC_FS=y
folio_queue: remove unused field `marks3`
fs/netfs: remove unused flag NETFS_RREQ_DONT_UNLOCK_FOLIOS
fs/netfs: remove unused flag NETFS_RREQ_BLOCKED
Documentation/core-api/folio_queue.rst | 3 -
Documentation/filesystems/netfs_library.rst | 1013 ++++++++++++++-----
fs/netfs/buffered_read.c | 24 +-
fs/netfs/buffered_write.c | 3 +-
fs/netfs/direct_read.c | 3 -
fs/netfs/objects.c | 2 -
fs/netfs/read_collect.c | 14 +-
fs/netfs/write_collect.c | 2 -
include/linux/folio_queue.h | 42 -
include/linux/fscache.h | 3 -
include/linux/netfs.h | 30 +-
include/trace/events/netfs.h | 3 +-
12 files changed, 767 insertions(+), 375 deletions(-)
More information about the linux-afs
mailing list