On 23.05.19 17:44, Sam Eiderman wrote:
> In safe mode we open the entire chain, including the parent backing
> file of the rebased file.
> Do not open a new BlockBackend for the parent backing file, which
> saves opening the rest of the chain twice, which for long chains
> saves many "pricy" bdrv_open() calls.
> 
> Permissions for blk_new() were copied from blk_new_open() when
> flags = 0.
> 
> Reviewed-by: Karl Heubaum <karl.heub...@oracle.com>
> Reviewed-by: Eyal Moscovici <eyal.moscov...@oracle.com>
> Signed-off-by: Sagi Amit <sagi.a...@oracle.com>
> Co-developed-by: Sagi Amit <sagi.a...@oracle.com>
> Signed-off-by: Sam Eiderman <shmuel.eider...@oracle.com>
> ---
>  qemu-img.c | 29 +++++++++--------------------
>  1 file changed, 9 insertions(+), 20 deletions(-)

Reviewed-by: Max Reitz <mre...@redhat.com>

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to