[DRBD-cvs] svn commit by phil - r2324 - trunk/drbd - And fixed a
bug where the "sync after" code did not got
drbd-cvs at lists.linbit.com
drbd-cvs at lists.linbit.com
Tue Aug 1 15:44:12 CEST 2006
Author: phil
Date: 2006-08-01 15:44:11 +0200 (Tue, 01 Aug 2006)
New Revision: 2324
Modified:
trunk/drbd/drbd_worker.c
Log:
And fixed a bug where the "sync after" code did not got the pauses
with sync-after dependencies right.
Modified: trunk/drbd/drbd_worker.c
===================================================================
--- trunk/drbd/drbd_worker.c 2006-08-01 13:34:56 UTC (rev 2323)
+++ trunk/drbd/drbd_worker.c 2006-08-01 13:44:11 UTC (rev 2324)
@@ -844,11 +844,8 @@
for (i=0; i < minor_count; i++) {
odev = drbd_conf + i;
- if ( odev->state.conn == SyncSource ||
- odev->state.conn == SyncTarget ) {
- if (! _drbd_may_sync_now(odev)) {
- rv |= _drbd_rs_pause(odev,AfterDependency);
- }
+ if (! _drbd_may_sync_now(odev)) {
+ rv |= _drbd_rs_pause(odev,AfterDependency);
}
}
More information about the drbd-cvs
mailing list