linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/14] cifs: Iterators, netfslib and folios
@ 2022-04-06 23:02 David Howells
  2022-04-06 23:02 ` [PATCH 01/14] cifs: Add some helper functions David Howells
                   ` (13 more replies)
  0 siblings, 14 replies; 21+ messages in thread
From: David Howells @ 2022-04-06 23:02 UTC (permalink / raw)
  To: linux-cachefs
  Cc: Matthew Wilcox, linux-cifs, Shyam Prasad N, Steve French,
	Rohith Surabattula, dhowells, Steve French, Shyam Prasad N,
	Rohith Surabattula, Jeff Layton, linux-cifs, linux-fsdevel,
	linux-kernel, linux-mm


Here's a set of patches to make the following changes to the cifs
filesystem driver:

 (1) Convert cifs to use I/O iterators to pass data/buffers from the the VM
     interface layer down to the socket rather than passing page lists
     about.

 (2) Convert cifs to use netfslib for buffered and direct read operations.

 (3) A partial conversion to folios.

This branch is built on top of my netfs-lib branch[1].

The patches can be found here also:

	https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=cifs-experimental


David

Link: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=netfs-lib [1]
---
David Howells (14):
      cifs: Add some helper functions
      cifs: Add a function to read into an iter from a socket
      cifs: Check the IOCB_DIRECT flag, not O_DIRECT
      cifs: Change the I/O paths to use an iterator rather than a page list
      cifs: Remove unused code
      cifs: Use netfslib to handle reads
      cifs: Share server EOF pos with netfslib
      netfs: Allow the netfs to make the io (sub)request alloc larger
      cifs: Put credits into cifs_io_subrequest, not on the stack
      cifs: Hold the open file on netfs_io_request, not netfs_io_subrequest
      cifs: Clamp length according to credits and rsize
      cifs: Expose netfs subrequest debug ID and index in read tracepoints
      cifs: Split the smb3_add_credits tracepoint
      mm, netfs, fscache: Stop read optimisation when folio removed from pagecache


 fs/afs/file.c           |    1 +
 fs/afs/inode.c          |    1 +
 fs/afs/internal.h       |    2 +
 fs/cifs/Kconfig         |    1 +
 fs/cifs/cifsencrypt.c   |   40 +-
 fs/cifs/cifsfs.c        |   11 +-
 fs/cifs/cifsfs.h        |    6 +-
 fs/cifs/cifsglob.h      |   53 +-
 fs/cifs/cifsproto.h     |   13 +-
 fs/cifs/cifssmb.c       |  252 +++--
 fs/cifs/connect.c       |   18 +-
 fs/cifs/file.c          | 2096 ++++++++++-----------------------------
 fs/cifs/fscache.c       |  120 +--
 fs/cifs/fscache.h       |   70 --
 fs/cifs/inode.c         |   22 +-
 fs/cifs/misc.c          |  109 --
 fs/cifs/smb2ops.c       |  387 ++++----
 fs/cifs/smb2pdu.c       |   85 +-
 fs/cifs/smb2proto.h     |    2 +-
 fs/cifs/trace.h         |  151 ++-
 fs/cifs/transport.c     |   41 +-
 fs/netfs/internal.h     |    1 +
 fs/netfs/io.c           |    7 +-
 fs/netfs/misc.c         |   13 +-
 fs/netfs/stats.c        |    9 +-
 include/linux/fs.h      |    2 +
 include/linux/netfs.h   |    1 +
 include/linux/pagemap.h |    1 +
 mm/filemap.c            |   15 +
 29 files changed, 1203 insertions(+), 2327 deletions(-)




^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2022-09-02  0:30 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-06 23:02 [PATCH 00/14] cifs: Iterators, netfslib and folios David Howells
2022-04-06 23:02 ` [PATCH 01/14] cifs: Add some helper functions David Howells
2022-04-06 23:02 ` [PATCH 02/14] cifs: Add a function to read into an iter from a socket David Howells
2022-04-06 23:03 ` [PATCH 03/14] cifs: Check the IOCB_DIRECT flag, not O_DIRECT David Howells
2022-04-06 23:03 ` [PATCH 04/14] cifs: Change the I/O paths to use an iterator rather than a page list David Howells
2022-04-06 23:03 ` [PATCH 05/14] cifs: Remove unused code David Howells
2022-04-06 23:03 ` [PATCH 06/14] cifs: Use netfslib to handle reads David Howells
2022-04-06 23:04 ` [PATCH 07/14] cifs: Share server EOF pos with netfslib David Howells
2022-04-06 23:04 ` [PATCH 08/14] netfs: Allow the netfs to make the io (sub)request alloc larger David Howells
2022-04-06 23:04 ` [PATCH 09/14] cifs: Put credits into cifs_io_subrequest, not on the stack David Howells
2022-04-06 23:04 ` [PATCH 10/14] cifs: Hold the open file on netfs_io_request, not netfs_io_subrequest David Howells
2022-04-06 23:04 ` [PATCH 11/14] cifs: Clamp length according to credits and rsize David Howells
2022-04-06 23:04 ` [PATCH 12/14] cifs: Expose netfs subrequest debug ID and index in read tracepoints David Howells
2022-04-06 23:04 ` [PATCH 13/14] cifs: Split the smb3_add_credits tracepoint David Howells
2022-04-06 23:05 ` [PATCH 14/14] mm, netfs, fscache: Stop read optimisation when folio removed from pagecache David Howells
2022-04-07  3:13   ` Matthew Wilcox
2022-04-07  6:41   ` David Howells
2022-04-07 21:22     ` Matthew Wilcox
2022-04-25 12:07     ` David Howells
2022-04-25 12:30       ` Matthew Wilcox
2022-09-02  0:30         ` David Wysochanski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).