cifs: Defer read completion
authorDavid Howells <dhowells@redhat.com>
Thu, 20 Jun 2024 19:30:00 +0000 (20:30 +0100)
committerSteve French <stfrench@microsoft.com>
Thu, 20 Jun 2024 20:21:23 +0000 (15:21 -0500)
commitce5291e56081730ec7d87bc9aa41f3de73ff3256
tree8251ef03d27bbd7a7c65bc060527f4ae214fc67a
parent8bf0287528da1992c5e49d757b99ad6bbc34b522
cifs: Defer read completion

Defer read completion from the I/O thread to the cifsiod thread so as not
to slow down the I/O thread.  This restores the behaviour of v6.9.

Fixes: 3ee1a1fc3981 ("cifs: Cut over to using netfslib")
Signed-off-by: David Howells <dhowells@redhat.com>
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/smb2pdu.c