Received: from eggs.gnu.org ([2001:4830:134:3::10]:52733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c58ZI-00052M-MR for qemu-devel@nongnu.org; Fri, 11 Nov 2016 04:56:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c58ZE-0007cg-UF for qemu-devel@nongnu.org; Fri, 11 Nov 2016 04:56:20 -0500 Sender: Paolo Bonzini References: <1478798349-28983-1-git-send-email-kwolf@redhat.com> From: Paolo Bonzini Message-ID: <472ab76e-ba47-2c65-2f04-d70c5fb24422@redhat.com> Date: Fri, 11 Nov 2016 10:56:13 +0100 MIME-Version: 1.0 In-Reply-To: <1478798349-28983-1-git-send-email-kwolf@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH 0/8] quorum: Implement .bdrv_co_preadv/pwritev() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-block@nongnu.org Cc: berto@igalia.com, qemu-devel@nongnu.org, mreitz@redhat.com On 10/11/2016 18:19, Kevin Wolf wrote: > This is part of a series that I'm working on and that aims to remove the > bdrv_aio_*() emulation in io.c. blkdebug and blkverify were easy, but for > quorum I need a few more patches, so I'm sending this out as an RFC while I > continue work on the rest (QED, and then possibly some polishing). > > After the series, quorum doesn't only use the preferred interfaces, but the > code becomes a little easier to follow and byte granularity requests are > supported. There is probably still some potential for additional cleanups in a > follow-up series, but this should already be enough to be worth merging. Honestly I don't see the point. It seems easier, more practical and more effective to convert bdrv_aio_* to byte ranges, especially since QED would be basically a rewrite. Paolo