Skip to contentSkip to conversation

master - Misc: Move some thin pool functions to a new file

PATCH Jonathan Brassow 1 participant 1 message Jan 22, 2014 Library code

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=5590448c320eb76789110546cdea47dd1d7a97b3
Commit:        5590448c320eb76789110546cdea47dd1d7a97b3
Parent:        2b9d25133e3dfa0f95f838a75a682e5195110684
Author:        Jonathan Brassow <[email protected]>
AuthorDate:    Wed Jan 22 10:11:29 2014 -0600
Committer:     Jonathan Brassow <[email protected]>
CommitterDate: Wed Jan 22 10:11:29 2014 -0600

Misc: Move some thin pool functions to a new file

Functions that handle set-up, tear-down and creation of thin pool volumes will be more generally applicable when more targets exist that make use of device-mapper's persistent data format. One of these targets is the dm-cache target. I've selected some functions that will be useful for the cache segment type to be moved, since they will no longer be thin pool specific but are more broadly useful to any segment type that makes use of a 'pool' LV.

---
 lib/Makefile.in           |    1 +
 lib/metadata/thin_manip.c |  241 ---------------------------------------------
 2 files changed, 1 insertions(+), 241 deletions(-)
lib/Makefile.in +1 -0
index 8fdc194..c3ace5f 100644
@@ -88,6 +88,7 @@ SOURCES =\
 	metadata/merge.c \
 	metadata/metadata.c \
 	metadata/mirror.c \
+	metadata/pool_manip.c \
 	metadata/pv.c \
 	metadata/pv_manip.c \
 	metadata/pv_map.c \
lib/metadata/thin_manip.c +0 -241

265 lines not on this page · raw message