Commit 49fe25ce authored by Shyam Prasad N's avatar Shyam Prasad N Committed by Steve French

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: default avatarShyam Prasad N <sprasad@microsoft.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 66c9314b
...@@ -405,6 +405,8 @@ smb2_reconnect(__le16 smb2_command, struct cifs_tcon *tcon, ...@@ -405,6 +405,8 @@ smb2_reconnect(__le16 smb2_command, struct cifs_tcon *tcon,
cifs_server_dbg(VFS, "supports multichannel now\n"); cifs_server_dbg(VFS, "supports multichannel now\n");
cifs_try_adding_channels(ses); cifs_try_adding_channels(ses);
queue_delayed_work(cifsiod_wq, &tcon->query_interfaces,
(SMB_INTERFACE_POLL_INTERVAL * HZ));
} }
} else { } else {
mutex_unlock(&ses->session_mutex); mutex_unlock(&ses->session_mutex);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment