1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Zdenek Kabelac d13239b054 lvcreate: new validation code
Refactor lvcreate code.

Prefer to use arg_outside_list_is_set() so we get automatic 'white-list'
validation of supported options with different segment types.

Drop used lp->cache, lp->cache and use seg_is_cache(), seg_is_thin()

Draw clear border where is the last moment we could change create
segment type.

When segment type is given with --type - do not allow it to be changed
later.

Put together tests related to individual segment types.

Finish cache conversion at proper part of lv_manip code after
the vg_metadata are written - so we could correcly clean-up created
stripe LV for cache volume.
2014-10-24 16:39:32 +02:00
..
activate refactor: make it possible to select what to check exactly when calling device_is_usable fn 2014-09-30 13:11:58 +02:00
cache lvmcache: Skip VG_GLOBAL cache lock state update. 2014-10-07 01:15:43 +01:00
cache_segtype cleanup: drop default implementation 2014-10-24 16:39:31 +02:00
commands segments: disable init of free segment 2014-10-24 16:39:31 +02:00
config cache: include cache mode in vg metadata and display 2014-10-02 11:17:41 -05:00
datastruct cleanup: consolidate lv_layout and lv_role reporting 2014-08-25 16:14:40 +02:00
device device: Fix BLKSSZGET definition check. 2014-10-13 18:15:41 +01:00
display segments: introduce lvseg_name 2014-10-24 16:39:30 +02:00
error cleanup: drop default implementation 2014-10-24 16:39:31 +02:00
filters filter-usable: filter out blocked and suspended devices firmly when scanning for lvmetad 2014-10-08 11:03:08 +02:00
format1 vgcreate: Permit non-power-of-2 extent sizes. 2014-10-14 18:12:15 +01:00
format_pool pvscan: use format feature flags in lvmetad code 2014-01-08 02:13:13 +00:00
format_text vgcreate: Permit non-power-of-2 extent sizes. 2014-10-14 18:12:15 +01:00
freeseg cleanup: drop default implementation 2014-10-24 16:39:31 +02:00
label debug: drop printing debug trace without labeler 2014-09-24 10:54:48 +02:00
locking file-locking: skip locking of VG_SYNC_NAMES 2014-10-24 16:39:30 +02:00
log report: select: refactor: move str_list to libdm 2014-06-17 16:27:20 +02:00
metadata lvcreate: new validation code 2014-10-24 16:39:32 +02:00
mirror cleanup: drop default implementation 2014-10-24 16:39:31 +02:00
misc cleanup: avoid double assign 2014-08-19 14:33:06 +02:00
mm valgrind: don't eat mem with valgrind 2014-09-28 13:49:01 +02:00
properties report: add separate fields for PV/VG/LV attributes 2014-07-04 15:40:17 +02:00
raid cleanup: drop default implementation 2014-10-24 16:39:31 +02:00
replicator cleanup: drop default implementation 2014-10-24 16:39:31 +02:00
report tools: refactor reporter code 2014-10-24 16:39:31 +02:00
snapshot cleanup: drop default implementation 2014-10-24 16:39:31 +02:00
striped metadata: use outfc for comments 2014-07-17 16:17:44 +02:00
thin cleanup: drop default implementation 2014-10-24 16:39:31 +02:00
unknown cleanup: drop default implementation 2014-10-24 16:39:31 +02:00
uuid cleanup: drop unused define 2014-03-12 19:12:34 +01:00
zero cleanup: drop default implementation 2014-10-24 16:39:31 +02:00
Makefile.in filters: add "usable device" filter 2014-09-30 13:11:58 +02:00