From: Antoine Martin Subject: Re: raw disks no longer work in latest kvm (kvm-88 was fine) Date: Mon, 08 Mar 2010 02:11:08 +0700 Message-ID: <4B93FA4C.2070306@nagafix.co.uk> References: <4B92BF97.4040001@nagafix.co.uk> <4B92C90B.4030807@msgid.tls.msk.ru> <4B932829.8090503@nagafix.co.uk> <4B9372B6.3050408@msgid.tls.msk.ru> <20100307100022.GA23201@infradead.org> <4B93A624.8010707@nagafix.co.uk> <4B93AF8A.3070805@nagafix.co.uk> <4B93C2F9.7030904@msgid.tls.msk.ru> <4B93DE3F.4090103@nagafix.co.uk> <4B93DFF0.5050905@redhat.com> <20100307172151.GA24859@infradead.org> <4B93E29E.6090609@redhat.com> <4B93E9EE.6020701@nagafix.co.uk> <4B93F4A4.9050003@redhat.com> <4B93F9E6.2050301@shiftmail.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Avi Kivity , Christoph Hellwig , Michael Tokarev , kvm@vger.kernel.org To: Asdo Return-path: Received: from mamba.nagafix.co.uk ([194.145.196.68]:50902 "EHLO mail.nagafix.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751997Ab0CGTLO (ORCPT ); Sun, 7 Mar 2010 14:11:14 -0500 In-Reply-To: <4B93F9E6.2050301@shiftmail.org> Sender: kvm-owner@vger.kernel.org List-ID: On 03/08/2010 02:09 AM, Asdo wrote: > Avi Kivity wrote: >> On 03/07/2010 08:01 PM, Antoine Martin wrote: >>> >>> Yes cache=none: "-drive file=./vm/var_fs,if=virtio,cache=none" >>> >>> Side question: this is the right thing to do for raw partitions, right? >> >> The rightest. > > Isn't cache=writeback now safe on virtio-blk since 2.6.32? > Doesn't it provide better performances? I thought it was best to let the guest deal with it? (single cache) > Also that looks like a raw file to me, not a partition... do they > follow the same optimization "rule"? This is a device (/dev/sdc9) in the chroot, don't let the name fool you ;) Antoine > > Thank you > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html