Received: from eggs.gnu.org ([2001:4830:134:3::10]:58767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ceiB6-00015n-Qi for qemu-devel@nongnu.org; Fri, 17 Feb 2017 08:02:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ceiB3-0007UY-MM for qemu-devel@nongnu.org; Fri, 17 Feb 2017 08:02:24 -0500 Received: from mx-v6.kamp.de ([2a02:248:0:51::16]:43389 helo=mx01.kamp.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ceiB3-0007R5-Dl for qemu-devel@nongnu.org; Fri, 17 Feb 2017 08:02:21 -0500 References: <1485876994-14555-1-git-send-email-pl@kamp.de> <03b2194a-ea37-c025-53c2-53b030b593f6@kamp.de> From: Peter Lieven Message-ID: Date: Fri, 17 Feb 2017 14:02:17 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] qga: ignore EBUSY when freezing a filesystem List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: mdroth@linux.vnet.ibm.com Cc: Paolo Bonzini , qemu-devel@nongnu.org, qemu-stable@nongnu.org, ct@flyingcircus.io Am 03.02.2017 um 19:31 schrieb Paolo Bonzini: > > On 03/02/2017 00:20, Peter Lieven wrote: >> Am 02.02.2017 um 22:41 schrieb Paolo Bonzini: >>> On 31/01/2017 07:36, Peter Lieven wrote: >>>> the current implementation fails if we try to freeze an >>>> already frozen filesystem. This can happen if a filesystem >>>> is mounted more than once (e.g. with a bind mount). >>>> >>>> Suggested-by: Christian Theune >>>> Cc: qemu-stable@nongnu.org >>>> Signed-off-by: Peter Lieven >>> What happens when you thaw? >>> >>> Paolo >> If you try to THAW an unfrozen FS you get EINVAL. >> The current code thaws until an error is returned. >> >> So it should work as is. >> >> If you feel uncomfortable with the EBUSY approach. The other idea would >> be to track all devices which have been successfully frozen and skip consecutive >> tries to freeze them. > No, just asking. > > Reeviewed-by: Paolo Bonzini Ping, Michael can you pick this up please. Thanks, Peter