From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtEWk-0003jE-76 for qemu-devel@nongnu.org; Wed, 18 Dec 2013 05:39:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VtEWe-00054u-8g for qemu-devel@nongnu.org; Wed, 18 Dec 2013 05:38:54 -0500 Received: from mx1.redhat.com ([209.132.183.28]:26070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtEWe-00054m-0a for qemu-devel@nongnu.org; Wed, 18 Dec 2013 05:38:48 -0500 Message-ID: <52B17B2B.1020103@redhat.com> Date: Wed, 18 Dec 2013 11:38:35 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1387271725-17060-1-git-send-email-pl@kamp.de> <20131217173202.GJ14832@redhat.com> <363AFFBF-8F24-4AC3-840F-481A523402B4@kamp.de> <52B17223.2070708@redhat.com> <20131218101818.GE16168@redhat.com> <52B177E1.6060802@redhat.com> In-Reply-To: <52B177E1.6060802@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCHv2] block: add native support for NFS List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Orit Wasserman Cc: "kwolf@redhat.com" , "famz@redhat.com" , Peter Lieven , "qemu-devel@nongnu.org" , "stefanha@redhat.com" Il 18/12/2013 11:24, Orit Wasserman ha scritto: >>> >>> For live migration we need the sync option (async ignores O_SYNC and >>> O_DIRECT sadly), >>> will it be supported? or will it be the default? >> >> Since this is bypassing the client kernel FS I/O layer question around >> support of things like O_SYNC/O_DIRECT are not applicable. >> > > so no live migration support? No, live migration just works. O_SYNC is not used anymore in QEMU, we just issue a flush after every write. And all protocol drivers except files/block devices _always_ bypass the kernel page cache (libiscsi, NBD, ceph, and now libnfs) so they are always behaving as if they had O_DIRECT. For these protocols, cache=writeback and cache=none are entirely the same. Paolo