Received: from eggs.gnu.org ([2001:4830:134:3::10]:34019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zk6aP-00089I-9C for qemu-devel@nongnu.org; Thu, 08 Oct 2015 04:30:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zk6aK-0001fq-91 for qemu-devel@nongnu.org; Thu, 08 Oct 2015 04:30:01 -0400 From: Alberto Garcia In-Reply-To: <87vbahq41u.fsf@blackfin.pond.sub.org> References: <1442907862-21376-1-git-send-email-wency@cn.fujitsu.com> <1442907862-21376-4-git-send-email-wency@cn.fujitsu.com> <56157599.9020608@redhat.com> <87vbahq41u.fsf@blackfin.pond.sub.org> Date: Thu, 08 Oct 2015 10:29:53 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [Qemu-block] [PATCH v5 3/4] qmp: add monitor command to add/remove a child List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster , Max Reitz Cc: Kevin Wolf , Yang Hongyang , zhanghailiang , Jiang Yunhong , Dong Eddie , qemu devel , "Dr. David Alan Gilbert" , Gonglei , Stefan Hajnoczi , qemu block 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. 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