Am 19.02.26 um 9:25 PM schrieb Kevin Wolf:
> @@ -1672,9 +1673,9 @@ bdrv_mirror_top_do_write(BlockDriverState *bs,
> MirrorMethod method,
> abort();
> }
>
> - if (!copy_to_target && s->job && s->job->dirty_bitmap) {
> + if (!copy_to_target) {
> qatomic_set(&s->job->actively_synced, false);
Here, we must check that s->job is set for the qatomic_set().
Other than that, the patch looks good to me, thanks!
> - bdrv_set_dirty_bitmap(s->job->dirty_bitmap, offset, bytes);
> + bdrv_set_dirty_bitmap(s->dirty_bitmap, offset, bytes);
> }
>
> if (ret < 0) {