register subjobs directly
authorJan Pospíšil <honik@ntc.zcu.cz>
Thu, 19 Oct 2006 17:09:50 +0000 (17:09 +0000)
committerJan Pospíšil <honik@ntc.zcu.cz>
Thu, 19 Oct 2006 17:09:50 +0000 (17:09 +0000)
org.glite.lb.client/src/producer.c

index 818e9b1..2d1c808 100644 (file)
@@ -1128,7 +1128,11 @@ int edg_wll_RegisterSubjob(
         const char *            seed,
         edg_wlc_JobId **        subjobs)
 {
+#ifdef LB_PERF
+       return edg_wll_RegisterJobMaster(ctx,LOGFLAG_DIRECT,job,type,jdl,ns,parent,num_subjobs,seed,subjobs);
+#else
        return edg_wll_RegisterJobMaster(ctx,LOGFLAG_NORMAL,job,type,jdl,ns,parent,num_subjobs,seed,subjobs);
+#endif
 }
 
 /**