Hi!
In MFSProcessOConfig there seems to be a bug in handling the FSPOLICY
argument.
case pFSPolicy:
if (strchr(SVal,'%'))
MSched.PercentBasedFS = TRUE;
if (MUBoolFromString(SVal,FALSE) == TRUE)
{
/* enable backlevel support */
F->FSPolicy = fspDPS;
}
else
{
F->FSPolicy = MUGetIndex(SVal,MFSPolicyType,FALSE,F->FSPolicy);
}
If SVal contains % the MUGetIndex will always fail as far as i can see,
i.e. returning the Default.
Will this work? This of course assumes the the '%' is always at the end.
case pFSPolicy:
if ((p = strchr(SVal,'%')) != NULL) {
MSched.PercentBasedFS = TRUE;
*p = '\0';
}
--
Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
Internet: [EMAIL PROTECTED] Phone: +46 90 7866134 Fax: +46 90 7866126
Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se
_______________________________________________
mauiusers mailing list
[email protected]
http://www.supercluster.org/mailman/listinfo/mauiusers