From: Christoph Hellwig Subject: Re: writeback cache + h700 controller w/1gb nvcache, corruption on power loss Date: Tue, 24 Apr 2012 23:57:23 -0400 Message-ID: <20120425035723.GA12313@infradead.org> References: <22130654.645.1334462335379.JavaMail.root@sys1.internetdefensetechnologies.com> <17899694.655.1334463376853.JavaMail.root@sys1.internetdefensetechnologies.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Ron Edison , kvm@vger.kernel.org To: Stefan Hajnoczi Return-path: Received: from 173-166-109-252-newengland.hfc.comcastbusiness.net ([173.166.109.252]:57396 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758763Ab2DYD50 (ORCPT ); Tue, 24 Apr 2012 23:57:26 -0400 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Apr 16, 2012 at 09:34:41AM +0100, Stefan Hajnoczi wrote: > On Sun, Apr 15, 2012 at 5:16 AM, Ron Edison wrote: > > The server is a Dell R710 with an H700 controller with 1gb of nvcache. Writeback cache is enabled on the controller. There is a mix of linux and windows guests, some with qcow2 format vdisks and others with raw format vdisks. Some of these guests have wb cache enabled on the vdisks and some do not. > > -drive cache=writeback is safe when the guest flushes appropriately. > If the guest is not sending flushes (e.g. ext3/4 barrier=0) then there > are no guarantees. Which is the default for ext3 on RHEL/CentOS < 6, btw.