]> Git Repo - linux.git/commit
cifs: avoid potential races when handling multiple dfs tcons
authorPaulo Alcantara <[email protected]>
Thu, 27 Apr 2023 07:40:08 +0000 (04:40 -0300)
committerSteve French <[email protected]>
Thu, 4 May 2023 04:29:47 +0000 (23:29 -0500)
commit6be2ea33a4093402252724a00c4af8033725184c
tree79c111db007aed6fab0cb82837480909e17eaabb
parent3dc9c433c9dde15477d02b609ccb4328e2adb6dc
cifs: avoid potential races when handling multiple dfs tcons

Now that a DFS tcon manages its own list of DFS referrals and
sessions, there is no point in having a single worker to refresh
referrals of all DFS tcons.  Make it faster and less prone to race
conditions when having several mounts by queueing a worker per DFS
tcon that will take care of refreshing only the DFS referrals related
to it.

Cc: [email protected] # v6.2+
Signed-off-by: Paulo Alcantara (SUSE) <[email protected]>
Signed-off-by: Steve French <[email protected]>
fs/cifs/cifsglob.h
fs/cifs/connect.c
fs/cifs/dfs.c
fs/cifs/dfs_cache.c
fs/cifs/dfs_cache.h
This page took 0.054008 seconds and 4 git commands to generate.