[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [Qemu-devel] [PATCH v5 3/4] qmp: add monitor command to
From: |
Max Reitz |
Subject: |
Re: [Qemu-block] [Qemu-devel] [PATCH v5 3/4] qmp: add monitor command to add/remove a child |
Date: |
Fri, 9 Oct 2015 18:14:55 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 08.10.2015 10:29, Alberto Garcia wrote:
> On Thu 08 Oct 2015 08:15:25 AM CEST, Markus Armbruster wrote:
>>> For the second point, you should also consider how useful this
>>> feature is to management tools. Just being able to remove and attach
>>> children from a quorum node seems very useful on its own. I don't see
>>> why we should wait for having support for other block drivers; also,
>>> for most block drivers there is no meaningful way of adding or
>>> removing children as nicely as that is possible for quorum.
>>
>> Okay, this is an argument I might be able to buy.
>
> Note that if we want to make this interface stable there's one use case
> missing: there's currently no way to change the vote threshold.
Besides what Kevin said: If you add a new function, that would be
independent from these two functions. If want to add it as an optional
parameter to blockdev-add-child so the change is done atomically, that
wouldn't be an incompatible interface change either.
Max
> This is maybe not so important for the COLO use case, but for the
> general case of adding and removing children from a quorum node having
> the possibility to change the threshold makes a lot of sense.
>
> That would probably require a its own API ('quorum-set-threshold' or
> something like that) so I don't think it has an effect on these
> child-add and child-del commands, but I wanted to mention it here anyway
> in case someone sees something that I'm overlooking.
>
> Berto
>
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-block] [PATCH v5 3/4] qmp: add monitor command to add/remove a child, Max Reitz, 2015/10/08
- Re: [Qemu-block] [Qemu-devel] [PATCH v5 3/4] qmp: add monitor command to add/remove a child, Markus Armbruster, 2015/10/09
- [Qemu-block] Dynamic reconfiguration (was: qmp: add monitor command to add/remove a child), Kevin Wolf, 2015/10/08
- Re: [Qemu-block] Dynamic reconfiguration (was: qmp: add monitor command to add/remove a child), Kevin Wolf, 2015/10/09
- Re: [Qemu-block] [Qemu-devel] Dynamic reconfiguration, Markus Armbruster, 2015/10/21
- Re: [Qemu-block] [Qemu-devel] Dynamic reconfiguration, Wen Congyang, 2015/10/25
- Re: [Qemu-block] [Qemu-devel] Dynamic reconfiguration, Markus Armbruster, 2015/10/26
- Re: [Qemu-block] [Qemu-devel] Dynamic reconfiguration, Wen Congyang, 2015/10/26
Re: [Qemu-block] [Qemu-devel] [PATCH v5 3/4] qmp: add monitor command to add/remove a child, Max Reitz, 2015/10/10