[DRBD-cvs] drbd by phil; LGE pointed out that we need a wake_up()...
drbd-user@lists.linbit.com
drbd-user@lists.linbit.com
Wed, 14 Apr 2004 15:05:47 +0200 (CEST)
DRBD CVS committal
Author : phil
Module : drbd
Dir : drbd/drbd
Modified Files:
Tag: rel-0_7-branch
drbd_receiver.c
Log Message:
LGE pointed out that we need a wake_up() after the clear bit,
to get other threads running again, that are sleeping
in the wait_event() macro in the same function...
===================================================================
RCS file: /var/lib/cvs/drbd/drbd/drbd/drbd_receiver.c,v
retrieving revision 1.97.2.129
retrieving revision 1.97.2.130
diff -u -3 -r1.97.2.129 -r1.97.2.130
--- drbd_receiver.c 9 Apr 2004 11:44:16 -0000 1.97.2.129
+++ drbd_receiver.c 14 Apr 2004 13:05:42 -0000 1.97.2.130
@@ -347,6 +347,7 @@
}
clear_bit(PROCESS_EE_RUNNING,&mdev->flags);
+ wake_up_interruptible(&mdev->ee_wait);
return ok;
}