Skip to content

netfs: Miscellaneous cleanups

David Howells ceph-devel linux-cifs linux-doc linux-fsdevel linux-nfs lkml netfs v9fs 1 version Applied

Status from this message: Applied to the vfs-6.16.netfs branch of the vfs/vfs.git tree.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/11netfs: Update main API documentDocumentation/filesystems/netfs_library.rst+739 -2770 replies
2/11fs/netfs: remove unused flag NETFS_SREQ_SEEK_DATA_READDocumentation/filesystems/netfs_library.rst include/linux/netfs.h+0 -60 replies
3/11fs/netfs: remove unused source NETFS_INVALID_WRITEfs/netfs/write_collect.c include/linux/netfs.h include/trace/events/netfs.h+1 -50 replies
4/11fs/netfs: remove unused flag NETFS_ICTX_WRITETHROUGHfs/netfs/buffered_write.c include/linux/netfs.h+1 -30 replies
5/11fs/netfs: remove unused enum choice NETFS_READ_HOLE_CLEARinclude/linux/fscache.h include/linux/netfs.h+0 -40 replies
6/11fs/netfs: reorder struct fields to eliminate holesinclude/linux/netfs.h+10 -100 replies
7/11fs/netfs: remove `netfs_io_request.ractl`fs/netfs/buffered_read.c include/linux/netfs.h+12 -130 replies
8/11fs/netfs: declare field `proc_link` only if CONFIG_PROC_FS=yinclude/linux/netfs.h+2 -00 replies
9/11folio_queue: remove unused field `marks3`Documentation/core-api/folio_queue.rst include/linux/folio_queue.h+0 -450 replies
10/11fs/netfs: remove unused flag NETFS_RREQ_DONT_UNLOCK_FOLIOSfs/netfs/read_collect.c include/linux/netfs.h+6 -90 replies
11/11fs/netfs: remove unused flag NETFS_RREQ_BLOCKEDfs/netfs/direct_read.c fs/netfs/objects.c include/linux/netfs.h+0 -70 replies

Reviews trailers per patch

1 of 11 patches has a Reviewed-by or Acked-by.

PatchPaulo Alcantara (Red Hat)
1/11R-b
2/11
3/11
4/11
5/11
6/11
7/11
8/11
9/11
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/11] netfs: Miscellaneous cleanups

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(-)