[ENBD] timeouts
Peter T. Breuer
ptb@it.uc3m.es
Fri, 22 Sep 2000 04:58:58 +0200 (MET DST)
"A month of sundays ago Peter T. Breuer wrote:"
> "A month of sundays ago Billy wrote:"
> > 2. the raid code marked the device faulty after I disconnect the cable,
>
> How long was the cable disconnected? Tests here showed that it takes
> about 7-10 minutes for nbd to timeout the network and change the state
I've located the timeout. It's a select on the lowlevel read from the
socket in both server and client codes, which is set to 3 times the
negotiation timeout, or 540 seconds. It appears that while in the
select, alarm signals from the controlling loop are not heard and one
has to wait for the select to expire. The wait can probably be cut to
150s safely..
I'll try and find out why the alarm signal is not heeded.
Peter