]> www.infradead.org Git - users/jedix/linux-maple.git/commit
netfs: Move max_len/max_nr_segs from netfs_io_subrequest to netfs_io_stream
authorDavid Howells <dhowells@redhat.com>
Fri, 7 Jun 2024 08:02:58 +0000 (09:02 +0100)
committerChristian Brauner <brauner@kernel.org>
Thu, 5 Sep 2024 09:00:41 +0000 (11:00 +0200)
commit52d55922e0f1db1f580c9f91c174d2392bfad481
treeae3ff22a9764c542c5c914ac200526a270afc27f
parent73425800ac948cb78063b897a0c345d788f3594d
netfs: Move max_len/max_nr_segs from netfs_io_subrequest to netfs_io_stream

Move max_len/max_nr_segs from struct netfs_io_subrequest to struct
netfs_io_stream as we only issue one subreq at a time and then don't need
these values again for that subreq unless and until we have to retry it -
in which case we want to renegotiate them.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Jeff Layton <jlayton@kernel.org>
cc: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
Link: https://lore.kernel.org/r/20240814203850.2240469-8-dhowells@redhat.com/
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/afs/write.c
fs/cachefiles/io.c
fs/netfs/io.c
fs/netfs/write_collect.c
fs/netfs/write_issue.c
fs/smb/client/file.c
include/linux/netfs.h