diff options
author | John Snow <jsnow@redhat.com> | 2018-08-29 21:57:30 -0400 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2018-08-31 16:28:33 +0200 |
commit | 7b508f6b7a38a8d9729772fa6e525da883fb120b (patch) | |
tree | f3398eff8b4567278599c1f8c444ebf5d61769d6 /tests/test-blockjob.c | |
parent | f369b48dc4095861223f9bc4329935599e03b1c5 (diff) |
block/mirror: utilize job_exit shim
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>
Diffstat (limited to 'tests/test-blockjob.c')
0 files changed, 0 insertions, 0 deletions