Skip to content

: Refactor lvcreate and add lvm_vg_create_lv_linear

Dave Wysochanski lvm-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11Refactor _lvcreate - move *_ARG into _lvcreate_params and get 'cmd' from 'vg'.tools/lvcreate.c+14 -120 replies
2/11Refactor extents calculations / updates in _lvcreate.tools/lvcreate.c+70 -490 replies
3/11Move percent_t from struct lvcreate_params to struct lvcreate_cmdline_params.tools/lvcreate.c+19 -100 replies
4/11Move 'size' from lvcreate_params into lvcreate_cmdline_params.tools/lvcreate.c+4 -40 replies
5/11Comment lvcreate_params struct.tools/lvcreate.c+28 -280 replies
6/11Move pvs and pv_count fields from lvcreate_params to lvcreate_cmdline_params.tools/lvcreate.c+7 -70 replies
7/11Move _lvcreate into the internal library and rename to lv_create_single.lib/metadata/lv_manip.c lib/metadata/metadata-exported.h tools/lvcreate.c+422 -4160 replies
8/11Move extents_from_size from lvcreate into internal library so we can reuse.lib/metadata/metadata-exported.h lib/metadata/metadata.c tools/lvcreate.c+27 -270 replies
9/11Add lvm_vg_create_lv_* liblvm functions.liblvm/.exported_symbols liblvm/lvm.h liblvm/lvm_lv.c+117 -00 replies
10/11Update test/api/test.c to handle read/write open modes.test/api/test.c+4 -20 replies
11/11Update test/api/test.c to call lvm_vg_create_lv_linear.test/api/test.c+20 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/11]: Refactor lvcreate and add lvm_vg_create_lv_linear

This patch set does some refactoring of lvcreate then adds the liblvm function lvm_vg_create_lv_linear, as well as updates the interactive unit test to call the API.

I haven't broken the testsuite and applies on top of:
commit 333091a0d31d8f710bac60ab7f6392fe8dcb1c92

Author: Dave Wysochanski <[email protected]>
Date:   Fri Jul 24 15:15:26 2009 +0000

Eliminate compile warning introduced by previous commit.