[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] block-drbd: type is "phy" for drbd backends
I've realized I haven't Cc'ed the drbd developers lists, so adding it now. 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. > > Signed-off-by: Roger Pau Monnà <roger.pau@xxxxxxxxxx> > --- > 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)" > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |