commit | 742d8de0186e9f8ec469f8171ea25781a17421bf | [log] [tgz] |
---|---|---|
author | Paulo Alcantara (SUSE) <pc@cjr.nz> | Wed Dec 04 17:38:03 2019 -0300 |
committer | Steve French <stfrench@microsoft.com> | Sun Jan 26 19:24:16 2020 -0600 |
tree | edc737c32111de73c7d1b75eb936bd97877a39b0 | |
parent | 06d57378bcc9b2c33640945174842115593795d1 [diff] |
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) <pc@cjr.nz> Signed-off-by: Steve French <stfrench@microsoft.com>