summaryrefslogtreecommitdiffstats
path: root/lib/thin
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2011-09-06 00:26:42 +0000
committerAlasdair Kergon <agk@redhat.com>2011-09-06 00:26:42 +0000
commit9ac61d2ba22013a96962f170c19c363d861f3092 (patch)
treeb0943318e379c58d440d1123f32b3b2984effddd /lib/thin
parent58366c058e9268842e498ea26f821b4404c25bc9 (diff)
downloadlvm2-9ac61d2ba22013a96962f170c19c363d861f3092.tar.gz
lvm2-9ac61d2ba22013a96962f170c19c363d861f3092.tar.xz
lvm2-9ac61d2ba22013a96962f170c19c363d861f3092.zip
lvcreate parsing for thin provisioning.
The rest is incomplete so this isn't usable yet.
Diffstat (limited to 'lib/thin')
-rw-r--r--lib/thin/thin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/thin/thin.c b/lib/thin/thin.c
index 7565e1b2..eeaa38fb 100644
--- a/lib/thin/thin.c
+++ b/lib/thin/thin.c
@@ -201,7 +201,8 @@ int init_multiple_segtypes(struct cmd_context *cmd, struct segtype_library *segl
uint32_t flags;
} reg_segtypes[] = {
{ &_thin_pool_ops, "thin_pool", SEG_THIN_POOL },
- { &_thin_ops, "thin", SEG_THIN_VOLUME }
+ /* FIXME Maybe use SEG_THIN_VOLUME instead of SEG_VIRTUAL */
+ { &_thin_ops, "thin", SEG_THIN_VOLUME | SEG_VIRTUAL }
};
struct segment_type *segtype;