-
John Snow authored
Change the manual deferment to mirror_exit into the implicit callback to job_exit and the mirror_exit callback. This does change the order of some bdrv_unref calls and job_completed, but thanks to the new context in which we call .exit, this is safe to defer the possible flushing of any nodes to the job_finalize_single cleanup stage. Signed-off-by:
John Snow <jsnow@redhat.com>
Message-id: 20180830015734.19765-6-jsnow@redhat.com
Reviewed-by:
Max Reitz <mreitz@redhat.com>
Reviewed-by:
Jeff Cody <jcody@redhat.com>
Signed-off-by:
Max Reitz <mreitz@redhat.com>John Snow authoredChange the manual deferment to mirror_exit into the implicit callback to job_exit and the mirror_exit callback. This does change the order of some bdrv_unref calls and job_completed, but thanks to the new context in which we call .exit, this is safe to defer the possible flushing of any nodes to the job_finalize_single cleanup stage. Signed-off-by:
John Snow <jsnow@redhat.com>
Message-id: 20180830015734.19765-6-jsnow@redhat.com
Reviewed-by:
Max Reitz <mreitz@redhat.com>
Reviewed-by:
Jeff Cody <jcody@redhat.com>
Signed-off-by:
Max Reitz <mreitz@redhat.com>
Loading