All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lars Ellenberg <lars.ellenberg@linbit.com>
To: drbd-dev@lists.linbit.com, xen-devel@lists.xenproject.org,
	drbd-user@lists.linbit.com
Subject: Re: [Drbd-dev] [PATCH] block-drbd: type is "phy" for drbd backends
Date: Wed, 26 Feb 2014 17:30:36 +0100	[thread overview]
Message-ID: <20140226163036.GE3154@soda.linbit> (raw)
In-Reply-To: <530E05DA.6070500@citrix.com>

On Wed, Feb 26, 2014 at 04:18:50PM +0100, Roger Pau Monné wrote:
> 
> I've realized I haven't Cc'ed the drbd developers lists, so adding it now.

We do read the user's list just as well.
Our -dev is actually mainly intended for "coordination".

> On 20/02/14 16:59, Roger Pau Monne wrote:
> > The type written to xenstore by libxl when attaching a drbd backend is
> > "phy", not "drbd", so handle this case also.

If you say so; you should know ;-)
Did this change at some point?
I personally have not used this script in a long while...

Do you ("citrix") have this in some
regression/integration testing yourself?

> > Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
> > ---
> >  scripts/block-drbd |    4 ++--
> >  1 files changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/scripts/block-drbd b/scripts/block-drbd
> > index 5563ccb..975802b 100755
> > --- a/scripts/block-drbd
> > +++ b/scripts/block-drbd
> > @@ -250,7 +250,7 @@ case "$command" in
> >      fi
> >  
> >      case $t in 
> > -      drbd)
> > +      drbd|phy)
> >          drbd_resource=$p
> >          drbd_role="$(drbdadm role $drbd_resource)"
> >          drbd_lrole="${drbd_role%%/*}"
> > @@ -278,7 +278,7 @@ case "$command" in
> >  
> >    remove)
> >      case $t in 
> > -      drbd)
> > +      drbd|phy)
> >          p=$(xenstore_read "$XENBUS_PATH/params")
> >          drbd_resource=$p
> >          drbd_role="$(drbdadm role $drbd_resource)"

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list   --   I'm subscribed

  parent reply	other threads:[~2014-02-26 16:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-20 15:59 [PATCH] block-drbd: type is "phy" for drbd backends Roger Pau Monne
2014-02-26 15:18 ` [Drbd-dev] " Roger Pau Monné
2014-02-26 15:18   ` Roger Pau Monné
2014-02-26 16:30   ` [Drbd-dev] " Lars Ellenberg
2014-02-26 16:30   ` Lars Ellenberg [this message]
2014-02-26 17:01     ` [Drbd-dev] [Xen-devel] " Roger Pau Monné
2014-02-26 17:01       ` [Drbd-dev] " Roger Pau Monné
2014-04-01  7:12       ` [Drbd-dev] [Xen-devel] " Roger Pau Monné
2014-04-01  7:12         ` [Drbd-dev] " Roger Pau Monné
2014-04-07 14:31         ` [Drbd-dev] [Xen-devel] " Lars Ellenberg
2014-04-07 14:40           ` [Drbd-dev] " Roger Pau Monné
2014-04-07 14:40           ` [Drbd-dev] [Xen-devel] " Roger Pau Monné
2014-04-07 14:31         ` [Drbd-dev] " Lars Ellenberg

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=20140226163036.GE3154@soda.linbit \
    --to=lars.ellenberg@linbit.com \
    --cc=drbd-dev@lists.linbit.com \
    --cc=drbd-user@lists.linbit.com \
    --cc=xen-devel@lists.xenproject.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.