aboutsummaryrefslogtreecommitdiff
path: root/fs/cifs/unc.c
diff options
context:
space:
mode:
authorShyam Prasad N2023-03-08 12:11:31 +0000
committerGreg Kroah-Hartman2023-03-30 12:49:20 +0200
commitee1767a12e130e735a6c2a4faf03cde2c9c5c557 (patch)
treedb443990acc25190ee8fed111c7ce3613583f8b6 /fs/cifs/unc.c
parenta163106b6d16a12fd5b9dadb304d274176d60639 (diff)
cifs: do not poll server interfaces too regularly
commit 072a28c8907c841f7d4b56c78bce46d3ee211e73 upstream. We have the server interface list hanging off the tcon structure today for reasons unknown. So each tcon which is connected to a file server can query them separately, which is really unnecessary. To avoid this, in the query function, we will check the time of last update of the interface list, and avoid querying the server if it is within a certain range. Signed-off-by: Shyam Prasad N <sprasad@microsoft.com> Reviewed-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Cc: stable@vger.kernel.org Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/cifs/unc.c')
0 files changed, 0 insertions, 0 deletions