OSDN Git Service

block/nbd: implement .bdrv_cancel_in_flight
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Fri, 5 Feb 2021 16:37:12 +0000 (19:37 +0300)
committerEric Blake <eblake@redhat.com>
Fri, 12 Feb 2021 15:45:18 +0000 (09:45 -0600)
commitc4f7f24e1f6e81804a7f15356614d9249280ab02
treee5ec9207d60dce4824612a97fbac076d1ad4c2ff
parentbd54669a4adf0931be3b0574d07ce4809bf67807
block/nbd: implement .bdrv_cancel_in_flight

Just stop waiting for connection in existing requests.

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