diff options
| author | Paulo Alcantara <pc@cjr.nz> | 2022-12-29 12:33:55 -0300 | 
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2023-01-04 00:10:19 -0600 | 
| commit | 9e6002c8738a9d5675ba706fcdbc0a544f814974 (patch) | |
| tree | a398f6cdb974c49874c58cf11166d107c4a45362 /scripts/gdb/linux/utils.py | |
| parent | 67fcb2c598bc7643f694e8194d5c300a52af5aa9 (diff) | |
cifs: ignore ipc reconnect failures during dfs failover
If it failed to reconnect ipc used for getting referrals, we can just
ignore it as it is not required for reconnecting the share.  The worst
case would be not being able to detect or chase nested links as long
as dfs root server is unreachable.
Before patch:
  $ mount.cifs //root/dfs/link /mnt -o echo_interval=10,...
    -> target share: /fs0/share
  disconnect root & fs0
  $ ls /mnt
  ls: cannot access '/mnt': Host is down
  connect fs0
  $ ls /mnt
  ls: cannot access '/mnt': Resource temporarily unavailable
After patch:
  $ mount.cifs //root/dfs/link /mnt -o echo_interval=10,...
    -> target share: /fs0/share
  disconnect root & fs0
  $ ls /mnt
  ls: cannot access '/mnt': Host is down
  connect fs0
  $ ls /mnt
  bar.rtf  dir1  foo
Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Reviewed-by: Enzo Matsumiya <ematsumiya@suse.de>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
