OSDN Git Service

block/mirror: implement .cancel job handler
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Fri, 5 Feb 2021 16:37:15 +0000 (19:37 +0300)
committerEric Blake <eblake@redhat.com>
Fri, 12 Feb 2021 17:29:40 +0000 (11:29 -0600)
commit521ff8b779b11c394dbdc43f02e158dd99df308a
tree4b4d202e5db680dc342e5e96ae71b0f2ae5da050
parent9820933b57b24c21a509680650f669123651b60d
block/mirror: implement .cancel job handler

Cancel in-flight io on target to not waste the time.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20210205163720.887197-6-vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
block/mirror.c