If I want the down nodes, I can't call it with state == "down". I have to filter all the "up" nodes and then take the difference between the two sets
On Mon, 2008-12-08 at 13:41 -0700, Latchesar Ionkov wrote: > I don't understand what do we gain? Why don't you just call the old > functions with state == "up"? > > Thanks, > Lucho > > On Dec 8, 2008, at 1:02 PM, Abhishek Kulkarni wrote: > > > This patch changes the semantics of the xp_nodeset_list_by state() and > > xp_nodeset_filter_by_state() functions to : > > > > Xpnodeset *xp_nodeset_list_by_state(char *server, int state); > > int xp_nodeset_filter_by_state(Xpnodeset *, Xpnodeset *, int state); > > > > Signed-off-by: Abhishek Kulkarni <[EMAIL PROTECTED]> > > > > Note: the patch applies to both the branches, sxcpu & xcpu2. > > > > THanks > > <all.patch> >
