Re: [PATCH v2 2/7] block: Relax restrictions for blockdev-snapshot

2020-03-10 Thread Kevin Wolf
Am 10.03.2020 um 14:15 hat Peter Krempa geschrieben: > On Tue, Mar 10, 2020 at 12:38:26 +0100, Kevin Wolf wrote: > > blockdev-snapshot returned an error if the overlay was already in use, > > which it defined as having any BlockBackend parent. This is in fact both > > too strict (some parents can t

Re: [PATCH v2 2/7] block: Relax restrictions for blockdev-snapshot

2020-03-10 Thread Peter Krempa
On Tue, Mar 10, 2020 at 12:38:26 +0100, Kevin Wolf wrote: > blockdev-snapshot returned an error if the overlay was already in use, > which it defined as having any BlockBackend parent. This is in fact both > too strict (some parents can tolerate the change of visible data caused > by attaching a ba

[PATCH v2 2/7] block: Relax restrictions for blockdev-snapshot

2020-03-10 Thread Kevin Wolf
blockdev-snapshot returned an error if the overlay was already in use, which it defined as having any BlockBackend parent. This is in fact both too strict (some parents can tolerate the change of visible data caused by attaching a backing file) and too loose (some non-BlockBackend parents may not b