[Mauiusers] setqos doesn't update partition mask

Lukasz Bolikowski L.Bolikowski at icm.edu.pl
Tue Feb 6 05:41:18 MST 2007


Hello,

I'm using Maui version 3.2.6p19-snap.1164984590,
configured in the following way.

The system is divided into three partitions: A, B, C.
By default, none of the partitions can be used:
   SYSCFG        PLIST=DEFAULT
Access to the partitions is granted by QoS:
   QOSCFG[test]  PLIST=A:B:C PDEF=C
   QOSCFG[foo]   PLIST=A:B PDEF=A
   QOSCFG[bar]   PLIST=A PDEF=A
All the jobs have initial QoS set to DEFAULT,
and then externally changed by the setqos command.

Ufortunately, the setqos command does not modify
job's partition mask, and therefore the jobs cannot
run in any partition.  It this a software bug or have
I misconfigured it?

I believe this is indeed a bug, and I've made
a tiny modification of the code that corrects
the behavior (see the attached diff).  Could
you confirm that it makes sense?

I'm not sure if MJobGetPAL should be placed before,
between, or after MJobUpdateFlags and MJobBuildCL.

Regards,
Lukasz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: maui.qospal.diff
Type: text/x-patch
Size: 375 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/mauiusers/attachments/20070206/7d201bec/maui.qospal.bin


More information about the mauiusers mailing list