New iSCSI Stack in 10.x - Prevent hangs on a dead target?
Karl Pielorz
kpielorz_lst at tdx.co.uk
Tue Apr 29 09:14:44 UTC 2014
--On 29 April 2014 10:43:06 +0200 Edward Tomasz Napierała
<trasz at FreeBSD.org> wrote:
> In HEAD, there is "kern.iscsi.fail_on_disconnection" sysctl. It's
> supposed to be used with gmultipath or ZFS; it basically makes connection
> error result in IO error instead of "hang" until successful reconnection.
> The initiator will still try to reconnect; when it succeeds, the disk
> devices will reappear.
>
> Would that solve your problem?
Sounds like it would! - I did have a quick fgrep round the 10-stable source
on the system here - time2retain is mentioned in a .h file - but I couldn't
see any where else it was either used or referenced...
Do you know if that sysctl/mechanism is likely to be ported to 10/stable?
Thanks,
-Karl
More information about the freebsd-scsi
mailing list