]> git.ipfire.org Git - thirdparty/linux.git/commit
cifs: avoid starvation when refreshing dfs cache
authorPaulo Alcantara <pc@cjr.nz>
Tue, 8 Jun 2021 16:50:06 +0000 (13:50 -0300)
committerSteve French <stfrench@microsoft.com>
Mon, 21 Jun 2021 02:28:17 +0000 (21:28 -0500)
commit1023e90b733acd1da98ba7067aa0fa8b998eed19
treec76af81d97613ba819d0ed19c3152a364eb0cd74
parent0d52df81e07739db25afe72e10dcc623b271d905
cifs: avoid starvation when refreshing dfs cache

When refreshing the DFS cache, keep SMB2 IOCTL calls as much outside
critical sections as possible and avoid read/write starvation when
getting new DFS referrals by using broken or slow connections.

Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/dfs_cache.c