1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-11-26 16:23:58 +03:00

vdo: support creation of compressed thin-pools

Add code to handle creation of  thin-pool with VDO data backend
which can be seen as compressed deduplicated thin-pool.

To avoid need of changing to many internal APIs, pass the conversion
parameters for create thin-pool data volume via cmd_context.
This commit is contained in:
Zdenek Kabelac
2023-12-14 14:20:19 +01:00
parent 6ec2f1f44b
commit db0de73d6e
5 changed files with 43 additions and 3 deletions

View File

@@ -281,6 +281,7 @@ struct cmd_context {
unsigned rand_seed;
struct dm_list pending_delete; /* list of LVs for removal */
struct dm_pool *pending_delete_mem; /* memory pool for pending deletes */
struct vdo_convert_params *lvcreate_vcp;/* params for LV to VDO conversion */
};
/*