From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rusty Russell Subject: Re: [PATCH, RFC] virtio_blk: add cache flush command Date: Tue, 12 May 2009 23:24:14 +0930 Message-ID: <200905122324.14970.rusty@rustcorp.com.au> References: <20090511083908.GB20082@lst.de> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, Christian Borntraeger To: Christoph Hellwig Return-path: Received: from ozlabs.org ([203.10.76.45]:57538 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750939AbZELNy0 (ORCPT ); Tue, 12 May 2009 09:54:26 -0400 In-Reply-To: <20090511083908.GB20082@lst.de> Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: On Mon, 11 May 2009 06:09:08 pm Christoph Hellwig wrote: > Do we need a new feature flag for this command or can we expect that > all previous barrier support was buggy enough anyway? You mean reuse the VIRTIO_BLK_F_BARRIER for this as well? Seems fine. AFAIK only lguest offered that, and lguest has no ABI. Best would be to implement VIRTIO_BLK_T_FLUSH as well; it's supposed to be demo code, and it should be easy). Thanks, Rusty.