[DRBD-cvs] drbd by phil; Drbd_thread got a spinlock for all the d...

drbd-user@lists.linbit.com drbd-user@lists.linbit.com
Wed, 5 May 2004 15:25:20 +0200 (CEST)


DRBD CVS committal

Author  : phil
Module  : drbd

Dir     : drbd/drbd/linux


Modified Files:
      Tag: rel-0_7-branch
	drbd.h 


Log Message:
Drbd_thread got a spinlock for all the drbd_thread operations to be
SMP save

In case of loss of connection set cstate to something < Connected 
as early as possible. Later drbd_disconnect() sets cstate to 
the whatever follows (also < Connected).

[Patch mainly by Lars]

===================================================================
RCS file: /var/lib/cvs/drbd/drbd/drbd/linux/Attic/drbd.h,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -3 -r1.1.2.1 -r1.1.2.2
--- drbd.h	28 Mar 2004 18:28:04 -0000	1.1.2.1
+++ drbd.h	5 May 2004 13:25:15 -0000	1.1.2.2
@@ -156,6 +156,7 @@
 	Unconnected,
 	Timeout,
 	BrokenPipe,
+	NetworkFailure,
 	WFConnection,
 	WFReportParams, // we have a socket
 	Connected,      // we have introduced each other