Re: [PATCH v8 29/43] mirror: Deal with filters

2020-09-02 Thread Max Reitz
On 02.09.20 10:53, Kevin Wolf wrote: > Am 01.09.2020 um 16:34 hat Max Reitz geschrieben: >> This includes some permission limiting (for example, we only need to >> take the RESIZE permission for active commits where the base is smaller >> than the top). >> >> base_overlay is introduced so we can

Re: [PATCH v8 29/43] mirror: Deal with filters

2020-09-02 Thread Kevin Wolf
Am 01.09.2020 um 16:34 hat Max Reitz geschrieben: > This includes some permission limiting (for example, we only need to > take the RESIZE permission for active commits where the base is smaller > than the top). > > base_overlay is introduced so we can query bdrv_is_allocated_above() on > it - we

[PATCH v8 29/43] mirror: Deal with filters

2020-09-01 Thread Max Reitz
This includes some permission limiting (for example, we only need to take the RESIZE permission for active commits where the base is smaller than the top). base_overlay is introduced so we can query bdrv_is_allocated_above() on it - we cannot do that with base itself, because a filter's