]> sourceware.org Git - lvm2.git/commit
pool: rework handling of passed args
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 9 Mar 2017 15:24:28 +0000 (16:24 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Fri, 10 Mar 2017 18:33:01 +0000 (19:33 +0100)
commit4d0793f0ec7c02fb4bec9ad092746e6fe027823f
treed329b047dfea132c629fbb865d92c12d77c1f674
parent7c52d550e92ec82a44b7652c285642d46a35ca69
pool: rework handling of passed args

As now we can properly recognize all paramerters for pool creation,
we may drop PASS_ARG_  defines and rely on '_UNSELECTED' or 0 entries
as being those without user given args.

When setting are not given on command line - 'update' function
fill them from profiles or configuration. For this  'profile' arg
was needed to be passed around and since  'VG' itself is not needed,
it's been all replaced with 'cmd, profile, extents_size' args.
lib/metadata/cache_manip.c
lib/metadata/lv_manip.c
lib/metadata/metadata-exported.h
lib/metadata/pool_manip.c
lib/metadata/thin_manip.c
tools/lvconvert.c
tools/lvcreate.c
tools/toollib.c
tools/toollib.h
This page took 0.036043 seconds and 5 git commands to generate.