From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsspN-0004qY-Fn for qemu-devel@nongnu.org; Wed, 09 Jan 2013 05:24:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TsspM-0003SC-Df for qemu-devel@nongnu.org; Wed, 09 Jan 2013 05:24:09 -0500 Received: from mx1.redhat.com ([209.132.183.28]:40719) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsspM-0003S1-58 for qemu-devel@nongnu.org; Wed, 09 Jan 2013 05:24:08 -0500 Message-ID: <50ED452F.1040208@redhat.com> Date: Wed, 09 Jan 2013 11:23:43 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1355941771-3418-1-git-send-email-namei.unix@gmail.com> <87k3s6shdv.wl%morita.kazutaka@lab.ntt.co.jp> <50D967C3.7020109@gmail.com> <50E58B19.2050701@gmail.com> <20130104163830.GF6310@stefanha-thinkpad.hitronhub.home> <50E7AEC4.5080309@gmail.com> <50E7BA41.3020307@gmail.com> <50E7DC9B.4080309@gmail.com> <50EACC61.2020603@redhat.com> <50EBB1CB.9030608@gmail.com> <20130108094025.GE2557@stefanha-thinkpad.redhat.com> <50EBEAD2.6070608@gmail.com> <50EBEE42.7010407@redhat.com> <50EBF755.3050607@gmail.com> <50EBFA3F.8030808@redhat.com> <50EBFE20.9010100@gmail.com> <50EC00CE.80205@redhat.com> <50EC0493.8030701@gmail.com> <50EC0D41.4070200@redhat.com> In-Reply-To: <50EC0D41.4070200@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] sheepdog: implement direct write semantics List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: Liu Yuan , qemu-devel@nongnu.org, MORITA Kazutaka , Stefan Hajnoczi Il 08/01/2013 13:12, Kevin Wolf ha scritto: >> > Okay, I see the code indeed support WCE but it requires Guest kernel to >> > support it. For the kernel doesn't support it, there is no way to >> > disable write cache, no? > With Linux guests, it's possible for SCSI. I'm not sure about > virtio-blk, but you might be right that you can't manually change it there. New enough kernels support it. Also, if you reboot from a system that supports writeback to one that doesn't (including old-enough Linux), the new QEMU will be able to use writethrough while running on the older system. Paolo