On Wed, 2020-02-19 at 11:38 +0100, Max Reitz wrote:
> On 22.01.20 17:45, Max Reitz wrote:
> > Hi,
> >
> > As version 1, this series adds a fallback path for creating files (on
> > the protocol layer) if the protocol driver does not support file
> > creation, but the file already exists.
> >
> >
> > Branch: https://github.com/XanClic/qemu.git skip-proto-create-v2
> > Branch: https://git.xanclic.moe/XanClic/qemu.git skip-proto-create-v2
> >
> >
> > v2:
> > - Drop blk_truncate_for_formatting(): It doesn’t make sense to introduce
> > this function any more after 26536c7fc25917d1bd13781f81fe3ab039643bff
> > (“block: Do not truncate file node when formatting”), because we’d
> > only use it in bdrv_create_file_fallback().
> > Thus, it makes more sense to create special helper functions
> > specifically for bdrv_create_file_fallback().
> >
> > - Thus, dropped patches 2 and 3.
> >
> > - And changed patch 4 to include those helper functions.
> >
> > - Rebased, which was a bit of a pain.
>
> Thanks for the reviews, added a note to the new test why the second case
> is expected to fail (as requested by Maxim), and applied the series to
> my block branch:
>
> https://git.xanclic.moe/XanClic/qemu/commits/branch/block
>
> Max
>
Thank you too!
Best regards,
Maxim Levitsky