From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtaqC-0004sM-Jk for qemu-devel@nongnu.org; Fri, 11 Jan 2013 04:24:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ttaq6-0007E5-GC for qemu-devel@nongnu.org; Fri, 11 Jan 2013 04:23:56 -0500 Received: from mx1.redhat.com ([209.132.183.28]:14759) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ttaq6-0007Dr-9D for qemu-devel@nongnu.org; Fri, 11 Jan 2013 04:23:50 -0500 Message-ID: <50EFDA1F.7020603@redhat.com> Date: Fri, 11 Jan 2013 10:23:43 +0100 From: Kevin Wolf MIME-Version: 1.0 References: <1355941771-3418-1-git-send-email-namei.unix@gmail.com> <1357805027-13453-1-git-send-email-namei.unix@gmail.com> <87lic0xjd3.wl%morita.kazutaka@lab.ntt.co.jp> In-Reply-To: <87lic0xjd3.wl%morita.kazutaka@lab.ntt.co.jp> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] sheepdog: implement direct write semantics List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: MORITA Kazutaka Cc: Liu Yuan , qemu-devel@nongnu.org, Stefan Hajnoczi Am 11.01.2013 08:35, schrieb MORITA Kazutaka: > At Thu, 10 Jan 2013 16:03:47 +0800, > Liu Yuan wrote: >> >> From: Liu Yuan >> >> Sheepdog supports both writeback/writethrough write but has not yet supported >> DIRECTIO semantics which bypass the cache completely even if Sheepdog daemon is >> set up with cache enabled. >> >> Suppose cache is enabled on Sheepdog daemon size, the new cache control is >> >> cache=writeback # enable the writeback semantics for write >> cache=writethrough # enable the emulated writethrough semantics for write >> cache=directsync # disable cache competely >> >> Guest WCE toggling on the run time to toggle writeback/writethrough is also >> supported. >> >> Cc: MORITA Kazutaka >> Cc: Kevin Wolf >> Cc: Stefan Hajnoczi >> Signed-off-by: Liu Yuan >> --- >> v2: adopt to current emulated writethrough cache setting >> >> block/sheepdog.c | 70 +++++++++++++++++++++++++++++++----------------------- >> 1 file changed, 40 insertions(+), 30 deletions(-) > > Reviewed-by: MORITA Kazutaka Thanks, applied to the block branch. Kevin