Skip to content

Commit 742d8de

Browse files
Paulo Alcantara (SUSE)smfrench
authored andcommitted
cifs: Avoid doing network I/O while holding cache lock
When creating or updating a cache entry, we need to get an DFS referral (get_dfs_referral), so avoid holding any locks during such network operation. To prevent that, do the following: * change cache hashtable sync method from RCU sync to a read/write lock. * use GFP_ATOMIC in memory allocations. Signed-off-by: Paulo Alcantara (SUSE) <[email protected]> Signed-off-by: Steve French <[email protected]>
1 parent 06d5737 commit 742d8de

File tree

1 file changed

+283
-264
lines changed

1 file changed

+283
-264
lines changed

0 commit comments

Comments
 (0)