Received: from eggs.gnu.org ([2001:4830:134:3::10]:50757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0IaU-0005ZL-7c for qemu-devel@nongnu.org; Tue, 10 May 2016 21:05:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0IaT-0002U4-1X for qemu-devel@nongnu.org; Tue, 10 May 2016 21:05:18 -0400 Date: Wed, 11 May 2016 09:05:08 +0800 From: Fam Zheng Message-ID: <20160511010508.GB13488@ad.usersys.redhat.com> References: <1462848659-28659-1-git-send-email-famz@redhat.com> <1462848659-28659-9-git-send-email-famz@redhat.com> <20160510085748.GD13377@redhat.com> <20160511004818.GA14074@ad.usersys.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160511004818.GA14074@ad.usersys.redhat.com> Subject: Re: [Qemu-devel] [PATCH v4 08/27] osdep: Add qemu_lock_fd and qemu_unlock_fd List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" Cc: Kevin Wolf , qemu-block@nongnu.org, qemu-devel@nongnu.org, Jeff Cody , rjones@redhat.com, Markus Armbruster , stefanha@redhat.com, pbonzini@redhat.com, den@openvz.org, Max Reitz , John Snow On Wed, 05/11 08:48, Fam Zheng wrote: > racy problem. Any suggestion how this could be fixed? Reading into the subthread I see the answer: the file-private locks look promising. Will take a look at that! Thanks. Fam