[Drbd-dev] DRBD8: disconnecting while already disconnecting can
hang the receiver
Montrose, Ernest
Ernest.Montrose at stratus.com
Mon Nov 19 00:11:36 CET 2007
Skipped content of type multipart/alternative-------------- next part --------------
Index: drbd/drbd_main.c
===================================================================
--- drbd/drbd_main.c (revision 20723)
+++ drbd/drbd_main.c (working copy)
@@ -589,7 +589,7 @@
if( (ns.conn == StartingSyncT || ns.conn == StartingSyncS ) &&
os.conn > Connected) rv=SS_ResyncRunning;
- if( ns.conn == Disconnecting && os.conn == StandAlone)
+ if( ns.conn == Disconnecting && os.conn <= TearDown )
rv=SS_AlreadyStandAlone;
if( ns.disk > Attaching && os.disk == Diskless)
More information about the drbd-dev
mailing list