From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:40733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TnQ9B-0005a5-A3 for qemu-devel@nongnu.org; Tue, 25 Dec 2012 03:46:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TnQ9A-0002Ad-DY for qemu-devel@nongnu.org; Tue, 25 Dec 2012 03:46:01 -0500 Received: from mail-pb0-f46.google.com ([209.85.160.46]:39820) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TnQ9A-0002AX-6v for qemu-devel@nongnu.org; Tue, 25 Dec 2012 03:46:00 -0500 Received: by mail-pb0-f46.google.com with SMTP id wy7so4288580pbc.5 for ; Tue, 25 Dec 2012 00:45:59 -0800 (PST) Message-ID: <50D967C3.7020109@gmail.com> Date: Tue, 25 Dec 2012 16:45:55 +0800 From: Liu Yuan MIME-Version: 1.0 References: <1355941771-3418-1-git-send-email-namei.unix@gmail.com> <87k3s6shdv.wl%morita.kazutaka@lab.ntt.co.jp> In-Reply-To: <87k3s6shdv.wl%morita.kazutaka@lab.ntt.co.jp> 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: MORITA Kazutaka Cc: Kevin Wolf , Stefan Hajnoczi , qemu-devel@nongnu.org On 12/25/2012 03:47 PM, MORITA Kazutaka wrote: > I wonder if we should disable cache when cache=none. Many management > frontend uses cache=none by default but, I think, users still expect > that data is cached (e.g. by disk write cache when a raw format is > used). cache=none only means that the host page cache is not used for > VM disk IO. > > In that sense, Well, I found setting cache=directsync will contain 'BDRV_O_CACHE_WB'. Is this a bug for current master? If no, my current scheme will be the only way to bypass cache of sheepdog. Thanks, Yuan