[DRBD-user] drbdsetup-bug

Lars Ellenberg Lars.Ellenberg at linbit.com
Fri Feb 27 16:20:23 CET 2004


/ 2004-02-27 14:48:30 +0100
\ Weyer, Wolfram:
> I found a small bug in drbdsetup.c of 0.6.11.  It seems the default value of
> 20 (which means do nothing) is captured by the sanity check. Therefore a
> drbdsetup without --sync-nice option will return an error.
> 
> This helps:
> 
> 441c441
> <   if ((cn->sync.nice < -20 || cn->sync.nice > 19) && cn->sync.nice != 20)
> {
> ---
> >   if (cn->sync.nice < -20 || cn->sync.nice > 19) {
> 
> /Wolfram

Thanks, I know, already fixed in CVS :)
Because of this, and the "unknown packet type" thingy in 0.6.11,
I expect a 0.6.12 in the near future, but that is Philipps
responsibility, and he is at conference right now.

	Lars Ellenberg



More information about the drbd-user mailing list