[DRBD-cvs] svn commit by phil - r2779 - trunk/drbd - Fixes another issue discovered by Ernest. We need to re

drbd-cvs at lists.linbit.com drbd-cvs at lists.linbit.com
Fri Mar 2 23:44:37 CET 2007


Author: phil
Date: 2007-03-02 23:44:36 +0100 (Fri, 02 Mar 2007)
New Revision: 2779

Modified:
   trunk/drbd/drbd_int.h
Log:
Fixes another issue discovered by Ernest. We need to resume 
the resync of other devices in case the disk of one device
failes during resync. 


Modified: trunk/drbd/drbd_int.h
===================================================================
--- trunk/drbd/drbd_int.h	2007-03-02 14:41:13 UTC (rev 2778)
+++ trunk/drbd/drbd_int.h	2007-03-02 22:44:36 UTC (rev 2779)
@@ -1473,7 +1473,8 @@
 	case Detach:
 	case CallIOEHelper:
 		if (mdev->state.disk > Failed) {
-			_drbd_set_state(_NS(mdev,disk,Failed),ChgStateHard);
+			_drbd_set_state(_NS(mdev,disk,Failed),
+					ChgStateHard|ScheduleAfter);
 			ERR("Local IO failed. Detaching...\n");
 		}
 		break;



More information about the drbd-cvs mailing list