[Drbd-dev] too small timeout in drbdsetup

syrius.ml at no-log.org syrius.ml at no-log.org
Mon Aug 4 20:37:00 CEST 2008

syrius.ml at no-log.org writes:

> Hi,
> as previously reported here
> http://thread.gmane.org/gmane.linux.kernel.drbd.devel/330 I also get
> the error message.
> looking at
> http://git.drbd.org/?p=drbd-8.0.git;a=blob;f=user/drbdsetup.c;h=0bca7c1c773bcbd1c2ed6781062396ed15e77e9c;hb=HEAD#l1919
> and
> http://git.drbd.org/?p=drbd-8.2.git;a=blob;f=user/drbdsetup.c;h=3868f1a18f4cda80cad5b0b05aa6f2348755dedd;hb=HEAD
> it seems the timeout is still too low (at least for me)
> I've fixed my problem by increasing the timeout to 5s.
> to reproduce the bug i was doing several drbdsetup disk one after the other
> in a script.
> (in fact the bug was first triggered by heartbeat drbd ocf script)
> Was do you thing would be the best change to make ?
> increase the timeout ?
> why not using NL_TIME (12000) as other drbd_calls ?

Sorry to insist, 8.0.13 is on its way and you haven't answered about
this subject.
A lot of people have to make the change by hand and recompile,
distributions might add their own patch before releasing. Anyway what
do you think about this ?



More information about the drbd-dev mailing list