Implement bdrv_co_block_status for snapshot export support

This commit is contained in:
Vitaliy Filippov
2023-01-07 17:06:58 +03:00
parent 373f9d0387
commit 137309cf29
11 changed files with 380 additions and 43 deletions
+1 -1
View File
@@ -403,7 +403,7 @@ struct snap_merger_t
op->opcode = OSD_OP_READ_BITMAP;
op->inode = target;
op->offset = offset;
op->len = 0;
op->len = target_block_size;
op->callback = [this](cluster_op_t *op)
{
if (op->retval < 0)