New iSCSI Stack in 10.x - Prevent hangs on a dead target?
Edward Tomasz Napierała
trasz at FreeBSD.org
Tue Apr 29 09:53:34 UTC 2014
Wiadomość napisana przez Karl Pielorz w dniu 29 kwi 2014, o godz. 11:14:
> --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?
Yes, in a week or so.
More information about the freebsd-scsi
mailing list