LVM2 ./WHATS_NEW_DM libdm/libdevmapper.h libdm ...
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2011-09-29 08:53:49
Modified files:
. : WHATS_NEW_DM
libdm : libdevmapper.h libdm-deptree.c
Log message:
Add supporting function for thinp
New dm_tree_node_add_thin_pool_target() and dm_tree_node_add_thin_target() This API is highly experimental and unstable for now.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW_DM.diff?cvsroot=lvm2&r1=1.507&r2=1.508
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/libdm/libdevmapper.h.diff?cvsroot=lvm2&r1=1.153&r2=1.154
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/libdm/libdm-deptree.c.diff?cvsroot=lvm2&r1=1.114&r2=1.115
WHATS_NEW_DM +1 -0
@@ -1,5 +1,6 @@ Version 1.02.68 - ================================== + Add functions to support thin provisioning target (API unstable). Improve libdm-config error path reporting. Update dmsetup resume man with --addnodeonresume/create options. Add dependency for dm man pages to man subdirectory make target all:.
libdm/libdevmapper.h +16 -0
@@ -535,6 +535,22 @@ uint32_t slog_region_size);/* End of Replicator API */ +/* API for thin provisioning is experimental, DO NOT USE. */ +int dm_tree_node_add_thin_pool_target (struct dm_tree_node *node, +uint64_t size, +uint64_t transation_id, +const char *pool_uuid, +const char *metadata_uuid, +uint32_t data_block_size, +uint64_t low_water_mark, +unsigned skip_block_zeroeing);/* Maybe separate _set_ call ? */ + +int dm_tree_node_add_thin_target (struct dm_tree_node *node, +uint64_t size, +uint64_t transation_id, +const char *thin_pool_uuid, +uint32_t device_id); +void dm_tree_node_set_presuspend_node (struct dm_tree_node *node,struct dm_tree_node *presuspend_node);
libdm/libdm-deptree.c +115 -1
168 lines not on this page · raw message