From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtaTi-0001VU-F4 for qemu-devel@nongnu.org; Fri, 11 Jan 2013 04:00:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TtaTb-0000bP-1I for qemu-devel@nongnu.org; Fri, 11 Jan 2013 04:00:42 -0500 Received: from mx3-phx2.redhat.com ([209.132.183.24]:53785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtaTa-0000b8-Od for qemu-devel@nongnu.org; Fri, 11 Jan 2013 04:00:34 -0500 Date: Fri, 11 Jan 2013 04:00:09 -0500 (EST) From: Paolo Bonzini Message-ID: <871023743.4876151.1357894809949.JavaMail.root@redhat.com> In-Reply-To: <50EFC855.8090206@gmail.com> MIME-Version: 1.0 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: Liu Yuan Cc: Kevin Wolf , Stefan Hajnoczi , qemu-devel@nongnu.org, MORITA Kazutaka > bdrv_enable_write_cache() is always > true for now, I guess this need generic change block layer to get the > writethrough/writeback hints. That's not correct. Try hdparm with an IDE disk, or sysfs with a SCSI disk (recent kernels will also support sysfs with an IDE or virtio-blk disk) and you'll see that it changes. Paolo