[Drbd-dev] too small timeout in drbdsetup
syrius.ml at no-log.org
syrius.ml at no-log.org
Mon Jul 14 19:24:30 CEST 2008
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 ?
Thanks
--
More information about the drbd-dev
mailing list