]> www.infradead.org Git - users/dwmw2/linux.git/commit
smb: client: allow more DFS referrals to be cached
authorPaulo Alcantara <pc@manguebit.com>
Tue, 26 Nov 2024 20:19:18 +0000 (17:19 -0300)
committerSteve French <stfrench@microsoft.com>
Wed, 27 Nov 2024 00:46:15 +0000 (18:46 -0600)
commit28ec614f2f9bfb57a76dd387be67bb6054f96b04
tree5be0f732a4ce0b09eb36013a6788ea0331642da8
parentf4ca4f5a36eac9b4da378a0f28cbbe38534a0901
smb: client: allow more DFS referrals to be cached

In some DFS setups, a single DFS share may contain hundreds of DFS
links and increasing the DFS cache to allow more referrals to be
cached improves DFS failover as the client will likely find a cached
DFS referral when reconnecting and then avoiding unnecessary remounts.

Signed-off-by: Paulo Alcantara (Red Hat) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/dfs_cache.c