summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorShyam Prasad N <sprasad@microsoft.com>2024-01-03 09:36:22 +0100
committerSteve French <stfrench@microsoft.com>2024-01-19 17:31:54 +0100
commit49fe25ce838183afac20f40457157ec009a86930 (patch)
treed1ec370f85990d8db4b5aa18a55e11d2d3b23e18 /fs
parentsmb: client: don't clobber ->i_rdev from cached reparse points (diff)
downloadlinux-49fe25ce838183afac20f40457157ec009a86930.tar.xz
linux-49fe25ce838183afac20f40457157ec009a86930.zip
cifs: reschedule periodic query for server interfaces
Today, we schedule periodic query for server interfaces once every 10 minutes once a tree connection has been established. Recent change to handle disabling of multichannel disabled this delayed work. This change reenables it following a reconnect, and the server advertises multichannel. Signed-off-by: Shyam Prasad N <sprasad@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/smb/client/smb2pdu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/smb/client/smb2pdu.c b/fs/smb/client/smb2pdu.c
index ec39dfbc3154..88c60187593f 100644
--- a/fs/smb/client/smb2pdu.c
+++ b/fs/smb/client/smb2pdu.c
@@ -405,6 +405,8 @@ skip_sess_setup:
cifs_server_dbg(VFS, "supports multichannel now\n");
cifs_try_adding_channels(ses);
+ queue_delayed_work(cifsiod_wq, &tcon->query_interfaces,
+ (SMB_INTERFACE_POLL_INTERVAL * HZ));
}
} else {
mutex_unlock(&ses->session_mutex);