[Drbd-dev] Resync Stalls at 100% patch problem

Montrose, Ernest Ernest.Montrose at stratus.com
Wed Jun 6 14:34:36 CEST 2007

BTW, I forgot to say that this happens only if one of the nodes is st:


-----Original Message-----
From: drbd-dev-bounces at linbit.com [mailto:drbd-dev-bounces at linbit.com]
On Behalf Of Montrose, Ernest
Sent: Tuesday, June 05, 2007 6:50 PM
To: Philipp Reisner; drbd-dev at linbit.com
Subject: [Drbd-dev] Resync Stalls at 100% patch problem

Unfortunately it seems like the patch for receive_state() in
drbd_receive.c has a problem.  Acquiring the req_lock at the top of this
routine causes the cstate machine to get confused.  To reproduce this
just do:
Drbdadm detach d0;sleep 3;drbdadm attach d0 for instance. One side ends
up WBTmpT and the other WbitmapS and deadlock.  I am researching more
but wanted to let you.  If I just remove the early lock then things are

drbd-dev mailing list
drbd-dev at lists.linbit.com

More information about the drbd-dev mailing list