Distributed Replicated Block Device (DRBD) development
 help / color / mirror / Atom feed
From: Philipp Reisner <philipp.reisner@linbit.com>
To: drbd-dev@lists.linbit.com
Subject: Re: [Drbd-dev] PATCH: Missing state change netlink events
Date: Tue, 6 Nov 2007 14:53:21 +0100	[thread overview]
Message-ID: <200711061453.21415.philipp.reisner@linbit.com> (raw)
In-Reply-To: <342BAC0A5467384983B586A6B0B376710707474E@EXNA.corp.stratus.com>

On Tuesday 06 November 2007 13:41:34 Graham, Simon wrote:
> > > I think the fix is simple - modify the code so that after_state_ch
> > > broadcasts the new state rather than the current state (patch
> >
> > attached)
> >
> > > - I would have removed the passing of mdev completely from
> > > drbd_bcast_state() if it weren't for the fact it is required by the
> > > generated to_tags function. I'm testing this at the moment but it's
>
> a
>
> > > little hard to be sure it's right since this requires fairly tight
> > > timing.
> >
> > Hi Simon,
> >
> > You are right. Obviously.
> > I have put it into GIT.
>
> Actually, this patch wasn't quite complete -- there were a couple of
> places where the wrong new state was broadcast (where ScheduleAfter was
> _not_ set in the call to _drbd_set_state). Patch attached.
>

Right.

-Phil
-- 
: Dipl-Ing Philipp Reisner                      Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH          Fax +43-1-8178292-82 :
: Vivenotgasse 48, 1120 Vienna, Austria        http://www.linbit.com :

      reply	other threads:[~2007-11-06 13:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-04 21:46 [Drbd-dev] PATCH: Missing state change netlink events Graham, Simon
2007-11-05 10:25 ` Philipp Reisner
2007-11-06 12:41 ` Graham, Simon
2007-11-06 13:53   ` Philipp Reisner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200711061453.21415.philipp.reisner@linbit.com \
    --to=philipp.reisner@linbit.com \
    --cc=drbd-dev@lists.linbit.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox