summaryrefslogtreecommitdiff
path: root/fs/smb/client/cifsglob.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2024-06-20 18:31:28 +0100
committerSteve French <stfrench@microsoft.com>2024-06-20 15:21:44 -0500
commit969b3010cbfcf58de65399dff8252c41b5e79292 (patch)
tree60d05176459a3a6589c86f7d2b88d6b853f50da3 /fs/smb/client/cifsglob.h
parentce5291e56081730ec7d87bc9aa41f3de73ff3256 (diff)
downloadlwn-969b3010cbfcf58de65399dff8252c41b5e79292.tar.gz
lwn-969b3010cbfcf58de65399dff8252c41b5e79292.zip
cifs: Only pick a channel once per read request
In cifs, only pick a channel when setting up a read request rather than doing so individually for every subrequest and instead use that channel for all. This mirrors what the code in v6.9 does. Signed-off-by: David Howells <dhowells@redhat.com> cc: Steve French <sfrench@samba.org> cc: Paulo Alcantara <pc@manguebit.com> cc: Jeff Layton <jlayton@kernel.org> cc: linux-cifs@vger.kernel.org cc: netfs@lists.linux.dev cc: linux-fsdevel@vger.kernel.org Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/client/cifsglob.h')
-rw-r--r--fs/smb/client/cifsglob.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/smb/client/cifsglob.h b/fs/smb/client/cifsglob.h
index 73482734a8d8..0978997ddfa6 100644
--- a/fs/smb/client/cifsglob.h
+++ b/fs/smb/client/cifsglob.h
@@ -1494,6 +1494,7 @@ struct cifs_aio_ctx {
struct cifs_io_request {
struct netfs_io_request rreq;
struct cifsFileInfo *cfile;
+ struct TCP_Server_Info *server;
};
/* asynchronous read support */