[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 10/18] block/io: introduce block driver snapshot-access AP
From: |
Hanna Reitz |
Subject: |
Re: [PATCH v4 10/18] block/io: introduce block driver snapshot-access API |
Date: |
Thu, 24 Feb 2022 13:24:54 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
On 16.02.22 20:46, Vladimir Sementsov-Ogievskiy wrote:
Add new block driver handlers and corresponding generic wrappers.
It will be used to allow copy-before-write filter to provide
reach fleecing interface in further commit.
In future this approach may be used to allow reading qcow2 interanal
(s/interanal/internal/)
snaphots, for example to export them through NBD.
Ooh, that’s indeed quite nice.
Raises the question of how users are to select a specific snapshot in
qcow2 file, but your next patch answers that question: The snapshot
access driver is to receive a runtime option for this, and the API is to
be extended to allow for selecting a specific snapshot. Sounds good!
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
---
include/block/block_int.h | 27 +++++++++++++++
block/io.c | 69 +++++++++++++++++++++++++++++++++++++++
2 files changed, 96 insertions(+)
Yes, really nice. Thanks.
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
- Re: [PATCH v4 03/18] block/block-copy: block_copy_state_new(): add bitmap parameter, (continued)
- [PATCH v4 05/18] block/block-copy: add block_copy_reset(), Vladimir Sementsov-Ogievskiy, 2022/02/16
- [PATCH v4 06/18] block: intoduce reqlist, Vladimir Sementsov-Ogievskiy, 2022/02/16
- [PATCH v4 07/18] block/reqlist: reqlist_find_conflict(): use ranges_overlap(), Vladimir Sementsov-Ogievskiy, 2022/02/16
- [PATCH v4 08/18] block/dirty-bitmap: introduce bdrv_dirty_bitmap_status(), Vladimir Sementsov-Ogievskiy, 2022/02/16
- [PATCH v4 09/18] block/reqlist: add reqlist_wait_all(), Vladimir Sementsov-Ogievskiy, 2022/02/16
- [PATCH v4 10/18] block/io: introduce block driver snapshot-access API, Vladimir Sementsov-Ogievskiy, 2022/02/16
- Re: [PATCH v4 10/18] block/io: introduce block driver snapshot-access API,
Hanna Reitz <=
- [PATCH v4 16/18] block: blk_root(): return non-const pointer, Vladimir Sementsov-Ogievskiy, 2022/02/16
- [PATCH v4 18/18] iotests/image-fleecing: test push backup with fleecing, Vladimir Sementsov-Ogievskiy, 2022/02/16
- [PATCH v4 15/18] iotests/image-fleecing: add test case with bitmap, Vladimir Sementsov-Ogievskiy, 2022/02/16
- [PATCH v4 13/18] iotests/image-fleecing: add test-case for fleecing format node, Vladimir Sementsov-Ogievskiy, 2022/02/16
- [PATCH v4 11/18] block: introduce snapshot-access filter, Vladimir Sementsov-Ogievskiy, 2022/02/16
- [PATCH v4 12/18] block: copy-before-write: realize snapshot-access API, Vladimir Sementsov-Ogievskiy, 2022/02/16