Received: from eggs.gnu.org ([2001:4830:134:3::10]:43168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsUmT-0007MQ-Uf for qemu-devel@nongnu.org; Fri, 07 Oct 2016 09:01:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bsUmP-0005XK-0W for qemu-devel@nongnu.org; Fri, 07 Oct 2016 09:01:41 -0400 From: Alberto Garcia In-Reply-To: <1475685327-22767-3-git-send-email-pbonzini@redhat.com> References: <1475685327-22767-1-git-send-email-pbonzini@redhat.com> <1475685327-22767-3-git-send-email-pbonzini@redhat.com> Date: Fri, 07 Oct 2016 15:01:19 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 2/2] quorum: do not allocate multiple iovecs for FIFO strategy List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org Cc: qemu-block@nongnu.org On Wed 05 Oct 2016 06:35:27 PM CEST, Paolo Bonzini wrote: > In FIFO mode there are no parallel reads, hence there is no need to > allocate separate buffers and clone the iovecs. > > The two cases of quorum_aio_cb are now even more different, and > most of quorum_aio_finalize is only needed in one of them, so split > them in separate functions. > > Signed-off-by: Paolo Bonzini Reviewed-by: Alberto Garcia Berto