block/mirror: set actively_synced even after the job is ready
commitc45d0e1af0b9e8fa0b0abc30bd6a4ef8d37964b4
authorFiona Ebner <f.ebner@proxmox.com>
Tue, 31 Oct 2023 13:54:23 +0000 (31 14:54 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 31 Oct 2023 17:20:29 +0000 (31 18:20 +0100)
tree8303bd8390151f1d86d17bdc557a68f8f458dafe
parent61a3a5a76a993b74c85f92585b10250d12323c38
block/mirror: set actively_synced even after the job is ready

In preparation to allow switching from background to active mode. This
ensures that setting actively_synced will not be missed when the
switch happens after the job is ready.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Message-ID: <20231031135431.393137-3-f.ebner@proxmox.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/mirror.c