Re: [PATCH 7/9] firewire: fw-sbp2: logout and login after failedreconnect
From: Jarod Wilson
Date: Mon Feb 11 2008 - 12:33:21 EST
Stefan Richter wrote:
If fw-sbp2 was too late with requesting the reconnect, the target would
reject this. In this case, log out before attempting the reconnect.
Else several firmwares will deny the re-login because they somehow
didn't invalidate the old login.
Also, don't retry reconnects in this situation. The retries won't
succeed either.
These changes improve chances for successful re-login and shorten the
period during which the logical unit is inaccessible.
Signed-off-by: Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx>
Good stuff, easy to see how these will help our chances.
Signed-off-by: Jarod Wilson <jwilson@xxxxxxxxxx>
--
Jarod Wilson
jwilson@xxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/