diff options
author | Bart Van Assche <[email protected]> | 2013-10-26 14:37:17 +0200 |
---|---|---|
committer | Roland Dreier <[email protected]> | 2013-11-08 14:43:16 -0800 |
commit | a95cadb9dafef41a755b11680529c2b49e7f59bd (patch) | |
tree | 32a9f6a4e7d45af4788446eef1eb99159307ecad /lib/memory-notifier-error-inject.c | |
parent | 8c64e4531c3c3bedf11d723196270d4a7553db45 (diff) |
IB/srp: Add periodic reconnect functionality
After a transport layer occurred, periodically try to reconnect
to the target until the dev_loss timer expires. Protect the
callback functions that can be invoked from inside the SCSI EH
against concurrent invocation with srp_reconnect_rport() via the
rport mutex. Change the default dev_loss_tmo from 60s into 600s
to give the reconnect mechanism a chance to kick in.
Signed-off-by: Bart Van Assche <[email protected]>
Acked-by: David Dillow <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions