[Linux-cluster] [RFC][PATCH] Add ability to freeze a service.

Lon Hohberger lhh at redhat.com
Fri Apr 27 18:10:54 UTC 2007


On Wed, Apr 25, 2007 at 08:52:08PM +0200, Simone Gotti wrote:

> > (3.a) Warning: The addition of rs_flags to rg_state_t will break
> > compatibility with existing software (which is fine in -HEAD).  It
> > would be easier to cope with this change (that is- make upgrades from
> > old->new work) if you added the rs_flags field after the
> > rs_transition field. 
> > 

> I tried also to fix (1) (I hope).
> In the meantime I fixed (like you reported on IRC) the missing changes
> to clustat.c:xml_rg_state and enhanced a little the default clustat
> output adding a "Flags" column.
> I added a parameter "separator" to rg_flags_str so it can be defined.
> For example in the default clustat I'm using a comma separated list
> while in the xml output I'm using a space as separator (dunno if this is
> right to do with xml).

Patch applied.

-- 
Lon Hohberger - Software Engineer - Red Hat, Inc.




More information about the Linux-cluster mailing list