Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
comment a part that leads to suspect behaviors. write actions remain in
authorsuter <frederic.suter@cc.in2p3.fr>
Tue, 27 May 2014 14:45:34 +0000 (16:45 +0200)
committersuter <frederic.suter@cc.in2p3.fr>
Tue, 27 May 2014 15:06:25 +0000 (17:06 +0200)
the LMM even though the operation is over. It impacts the resource
sharing of all subsequent actions (as if the flows were still active)

src/surf/storage_n11.cpp

index 832cc03..71a03fa 100644 (file)
@@ -482,9 +482,11 @@ StorageN11Action::StorageN11Action(ModelPtr model, double cost, bool failed, Sto
   case WRITE:
     lmm_expand(model->getMaxminSystem(), storage->p_constraintWrite,
                getVariable(), 1.0);
-    ActionPtr action = this;
-    xbt_dynar_push(storage->p_writeActions, &action);
-    ref();
+
+//TODO there is something annoying with what's below. Have to sort it out...
+//    ActionPtr action = this;
+//    xbt_dynar_push(storage->p_writeActions, &action);
+//    ref();
     break;
   }
   XBT_OUT();