aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorRonnie Sahlberg <[email protected]>2020-01-30 19:52:51 +0000
committerSteve French <[email protected]>2020-01-30 21:23:55 +0000
commitc54849ddd832ae0a45cab16bcd1ed2db7da090d7 (patch)
tree46f1325d71b915411cbd9bf17628be5f77f0164a /tools/perf/scripts/python/sched-migration.py
parentMerge tag '5.6-smb3-fixes-and-dfs-and-readdir-improvements' of git://git.samb... (diff)
downloadkernel-c54849ddd832ae0a45cab16bcd1ed2db7da090d7.tar.gz
kernel-c54849ddd832ae0a45cab16bcd1ed2db7da090d7.zip
cifs: fix soft mounts hanging in the reconnect code
RHBZ: 1795429 In recent DFS updates we have a new variable controlling how many times we will retry to reconnect the share. If DFS is not used, then this variable is initialized to 0 in: static inline int dfs_cache_get_nr_tgts(const struct dfs_cache_tgt_list *tl) { return tl ? tl->tl_numtgts : 0; } This means that in the reconnect loop in smb2_reconnect() we will immediately wrap retries to -1 and never actually get to pass this conditional: if (--retries) continue; The effect is that we no longer reach the point where we fail the commands with -EHOSTDOWN and basically the kernel threads are virtually hung and unkillable. Fixes: a3a53b7603798fd8 (cifs: Add support for failover in smb2_reconnect()) Signed-off-by: Ronnie Sahlberg <[email protected]> Signed-off-by: Steve French <[email protected]> Reviewed-by: Paulo Alcantara (SUSE) <[email protected]> CC: Stable <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions