We've managed to apply your patch and compile the sources again, after changing one of the new code lines:

-----------------------------------------
- dbg(pid != s_local.nl_pid ? 1 : 3,
+ dbg(pid != s->s_local.nl_pid ? 1 : 3,
-----------------------------------------

As for now it seems to have fixed the problem, as

# i=0; while drbdsetup 0 dstate >/dev/null ; do let i++; done; echo "failed after $i calls"

no longer breaks - though now it prints out this line of debug? output every couple seconds

------------------------------
<1>bound socket to nl_pid:4294963073, my pid:1432, len:12, sizeof:12

<1>bound socket to nl_pid:4294963072, my pid:1432, len:12, sizeof:12

<1>bound socket to nl_pid:4294963071, my pid:1432, len:12, sizeof:12

<1>bound socket to nl_pid:4294963070, my pid:1432, len:12, sizeof:12

<1>bound socket to nl_pid:4294963069, my pid:1432, len:12, sizeof:12

<1>bound socket to nl_pid:4294963068, my pid:1432, len:12, sizeof:12
------------------------------

dunno if this is bad or not...

Christoph
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to