Received: from eggs.gnu.org ([2001:4830:134:3::10]:34271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7fp7-0005PV-9Q for qemu-devel@nongnu.org; Fri, 18 Nov 2016 04:51:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c7fp6-0003e0-HB for qemu-devel@nongnu.org; Fri, 18 Nov 2016 04:51:09 -0500 From: Alberto Garcia In-Reply-To: <20161111102226.GB7533@noname.redhat.com> References: <1478798349-28983-1-git-send-email-kwolf@redhat.com> <472ab76e-ba47-2c65-2f04-d70c5fb24422@redhat.com> <20161111102226.GB7533@noname.redhat.com> Date: Fri, 18 Nov 2016 10:51:01 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain 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 , Paolo Bonzini Cc: qemu-block@nongnu.org, qemu-devel@nongnu.org, mreitz@redhat.com On Fri 11 Nov 2016 11:22:26 AM CET, Kevin Wolf wrote: >> 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. > > Well, it's an RFC for a reason, I want people to give their opinions > before consistently following through with this. But I do think that > we pointlessly offer too many different interfaces to do the same > thing in the block layer. I cannot speak much about the AIO/coroutine interfaces (why do we have both? is the latter supposed to supersede the former? I'd appreciate some background here) but I did find the code easier to follow after these patches, so from that point of view the series looks good to me. Berto