]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cifs: Only pick a channel once per read request
authorDavid Howells <dhowells@redhat.com>
Thu, 20 Jun 2024 17:31:28 +0000 (18:31 +0100)
committerSteve French <stfrench@microsoft.com>
Thu, 20 Jun 2024 20:21:44 +0000 (15:21 -0500)
commit969b3010cbfcf58de65399dff8252c41b5e79292
tree60d05176459a3a6589c86f7d2b88d6b853f50da3
parentce5291e56081730ec7d87bc9aa41f3de73ff3256
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>
fs/smb/client/cifsglob.h
fs/smb/client/file.c