On Thu, 04/06 19:14, Kevin Wolf wrote:
> The same problem that Fam's patch "mirror: Fix aio context of
> mirror_top_bs" fixes for the mirror block job also exists for the
> commit block job and the 'commit' HMP command. While comparing the
> respective places in mirror.c and commit.c, I also noticed that
> commit neglects to set an image size.
>
> This series fixes both problems.
>
> Kevin Wolf (2):
> commit: Set commit_top_bs->aio_context
> commit: Set commit_top_bs->total_sectors
>
> block/commit.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> --
> 1.8.3.1
>
Reviewed-by: Fam Zheng <famz@redhat.com>