Received: from eggs.gnu.org ([2001:4830:134:3::10]:43507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO0sv-0007cl-0g for qemu-devel@nongnu.org; Thu, 13 Mar 2014 04:21:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WO0sp-0002v4-Mz for qemu-devel@nongnu.org; Thu, 13 Mar 2014 04:21:00 -0400 Received: from indium.canonical.com ([91.189.90.7]:53711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO0sp-0002ut-H1 for qemu-devel@nongnu.org; Thu, 13 Mar 2014 04:20:55 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1WO0so-00007C-Uz for ; Thu, 13 Mar 2014 08:20:55 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id DCD232E80B0 for ; Thu, 13 Mar 2014 08:20:54 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Thu, 13 Mar 2014 08:14:09 -0000 From: chchen Sender: bounces@canonical.com References: <20140217055059.2081.68353.malonedeb@gac.canonical.com> Message-Id: <20140313081409.30224.33201.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1280961] Re: editing the file when mount the file system using 9pfs. it will report fsync failed. Reply-To: Bug 1280961 <1280961@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org resovled it, this is because in the kernel 2.6.32; the 9pfs doesn't implement the fsync function. just back port the code from higher version, can resolve it. like this patch https://gitorious.org/linux- gemini/mainline/commit/7a4439c406c21b1e900ed497cec1a79d05b38c07 ** Changed in: qemu Assignee: (unassigned) =3D> chchen (cc272309126) -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1280961 Title: editing the file when mount the file system using 9pfs. it will report fsync failed. Status in QEMU: New Bug description: I have get a fsync error when I use the 9pfs on the kvm guest. it appears when I use vi editor and sysbench. I have not found the reason yet. can you tell something about it? the attache is the picture. and there is no any log which I can provide. My qemu version is qemu-kvm-0.13.0, and my host linux distributions is 2.6.32-431.el6.x86_64 and the guest vm is the same version which enable 9pfs and 9pnet support. I use the string of "mount -t 9p -o trans=3Dvirtio test_mount /tmp/shared/ -oversion=3D9p2000.L,posixacl" to get the file system. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1280961/+subscriptions