[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] qga: ignore EBUSY when freezing a filesystem
From: |
Christian Theune |
Subject: |
Re: [Qemu-devel] [PATCH] qga: ignore EBUSY when freezing a filesystem |
Date: |
Fri, 3 Feb 2017 09:22:22 +0100 |
Hi,
> On 3 Feb 2017, at 09:20, Peter Lieven <address@hidden> wrote:
>
> 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.
Which will be subject to race conditions as other processes may call
freeze/thaw on any device. Those are completely out of our control.
Christian
--
Christian Theune · address@hidden · +49 345 219401 0
Flying Circus Internet Operations GmbH · http://flyingcircus.io
Forsterstraße 29 · 06112 Halle (Saale) · Deutschland
HR Stendal HRB 21169 · Geschäftsführer: Christian. Theune, Christian. Zagrodnick
signature.asc
Description: Message signed with OpenPGP