[Pacemaker] [Question] About the rotation of the pe-file.
renayama19661014 at ybb.ne.jp
renayama19661014 at ybb.ne.jp
Fri Jan 6 01:12:06 UTC 2012
Hi Andrew,
Thank you for comments.
> Could you try with:
>
> while(max >= 0 && sequence > max) {
>
The problem is not settled by this correction.
The rotation is carried out with a value except 0.
Best Regards,
Hideo Yamauchi.
--- On Fri, 2012/1/6, Andrew Beekhof <andrew at beekhof.net> wrote:
> On Thu, Jan 5, 2012 at 12:35 PM, <renayama19661014 at ybb.ne.jp> wrote:
> > Hi All,
> >
> > Stored pe files usually begin with the zeroth.
> > However, when I make pe-input-series-max=2, the rotation is carried out between 1 and 2, but is not performed with 0.
> >
> > Is it specifications that is not rotated with 0?
> >
> > I confirmed that 0 was not used by the next calculation.
> >
> > void
> > write_last_sequence(
> > const char *directory, const char *series, int sequence, int max)
> > {
> > int rc = 0;
> > int len = 36;
> > FILE *file_strm = NULL;
> > char *series_file = NULL;
> >
> > CRM_CHECK(directory != NULL, return);
> > CRM_CHECK(series != NULL, return);
> >
> > if(max == 0) {
> > return;
> > }
> > while(max > 0 && sequence > max) {
> > sequence -= max;
> > }
>
> Could you try with:
>
> while(max >= 0 && sequence > max) {
>
> > (snip)
> >
> >
> > Best Regards,
> > Hideo Yamauchi.
> >
> >
> > _______________________________________________
> > Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >
> > Project Home: http://www.clusterlabs.org
> > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> > Bugs: http://bugs.clusterlabs.org
>
More information about the Pacemaker
mailing list