From: Christoph Hellwig Subject: Re: [RFC] vhost-blk implementation Date: Wed, 24 Mar 2010 16:05:02 -0400 Message-ID: <20100324200502.GB22272@infradead.org> References: <1269306023.7931.72.camel@badari-desktop> <4BA891E2.9040500@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Badari Pulavarty , kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:56735 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752784Ab0CXUFD (ORCPT ); Wed, 24 Mar 2010 16:05:03 -0400 Content-Disposition: inline In-Reply-To: <4BA891E2.9040500@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Mar 23, 2010 at 12:03:14PM +0200, Avi Kivity wrote: > I also think it should be done at the bio layer. File I/O is going to > be slower, if we do vhost-blk we should concentrate on maximum > performance. The block layer also exposes more functionality we can use > (asynchronous barriers for example). The block layer is more flexible, but that limits you to only stack directly ontop of a block device, which is extremly inflexible.