From: Bart Van Assche Date: Sat, 26 Oct 2013 12:37:17 +0000 (+0200) Subject: IB/srp: Add periodic reconnect functionality X-Git-Tag: v3.13-rc1~44^2^11~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a95cadb9dafef41a755b11680529c2b49e7f59bd;p=pandora-kernel.git 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 Acked-by: David Dillow Signed-off-by: Roland Dreier --- Reading git-diff-tree failed