From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=42995 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGruU-00084K-1W for qemu-devel@nongnu.org; Tue, 25 May 2010 07:02:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OGruS-0007tc-KY for qemu-devel@nongnu.org; Tue, 25 May 2010 07:02:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46231) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OGruS-0007tM-8W for qemu-devel@nongnu.org; Tue, 25 May 2010 07:02:56 -0400 Message-ID: <4BFBAE46.5050801@redhat.com> Date: Tue, 25 May 2010 13:02:30 +0200 From: Kevin Wolf MIME-Version: 1.0 Subject: Re: [Qemu-devel] [RFC PATCH 1/1] ceph/rbd block driver for qemu-kvm References: <20100519192222.GD61706@ncolin.muc.de> <4BF5A9D2.5080609@codemonkey.ws> <4BF91937.2070801@redhat.com> In-Reply-To: <4BF91937.2070801@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: kvm@vger.kernel.org, qemu-devel@nongnu.org, Blue Swirl , ceph-devel@vger.kernel.org, Christian Brunner Am 23.05.2010 14:01, schrieb Avi Kivity: > On 05/21/2010 12:29 AM, Anthony Liguori wrote: >> >> I'd be more interested in enabling people to build these types of >> storage systems without touching qemu. >> >> Both sheepdog and ceph ultimately transmit I/O over a socket to a >> central daemon, right? > > That incurs an extra copy. > >> So could we not standardize a protocol for this that both sheepdog and >> ceph could implement? > > The protocol already exists, nbd. It doesn't support snapshotting etc. > but we could extend it. > > But IMO what's needed is a plugin API for the block layer. What would it buy us, apart from more downstreams and having to maintain a stable API and ABI? Hiding block drivers somewhere else doesn't make them stop existing, they just might not be properly integrated, but rather hacked in to fit that limited stable API. Kevin