1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Zdenek Kabelac 0cbb381e15 lvcreate: regression fix on lv name limits
When we are given an existing LV name - it needs to be allowed
to pass in even restricted name as the LV could have existed
long before we introduced some new restriction on prefix/suffix.i

Fix the regression on name limits and drop restriction to be applied
on any existing LVs - only the new created LV names have to be
complient with current name restrictions.

FIXME: we are currently using restricted names incorrectly in few
other places - device_is_usable() skips restricted names,
and udev flags are also incorrectly set for restricted names
so these LVs are not getting links properly.
2014-10-07 15:52:31 +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 cache: use get_cache_mode for validation 2014-07-17 16:16:45 +02:00
commands filters: add cmd->full_filter - composite of cmd->filter and cmd->lvmetad_filter 2014-10-02 13:06:46 +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 cleanup: drop duplicate const usage 2014-09-24 10:54:48 +02:00
display cleanup: Use lv_is_ macros. 2014-09-15 21:33:53 +01:00
error cleanup: modules_needed only for devmapper 2014-04-30 10:26:30 +02:00
filters cleanup: remove compiler warning about possible uninitialized variable use 2014-10-02 13:21:24 +02:00
format1 metadata: fix ALLOCATABLE_PV for lvm1 format 2014-07-11 12:24:15 +02:00
format_pool pvscan: use format feature flags in lvmetad code 2014-01-08 02:13:13 +00:00
format_text metadata: Use flags to control warnings. 2014-10-07 01:15:43 +01:00
freeseg cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
label debug: drop printing debug trace without labeler 2014-09-24 10:54:48 +02:00
locking cleanup: constify activation usage of lv pointer 2014-09-24 10:54:47 +02:00
log report: select: refactor: move str_list to libdm 2014-06-17 16:27:20 +02:00
metadata lvcreate: regression fix on lv name limits 2014-10-07 15:52:31 +02:00
mirror mirror: extend adjusted_mirror_region_size API 2014-09-24 10:48:02 +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: Use segtype.h definitions of segment type names wherever possible 2014-09-24 15:24:41 +02:00
replicator compilation: fix warnings: build_dm_uuid now accepts whole struct logical_volume, not lvid 2014-06-18 14:43:13 +02:00
report toollib: Rewrite process_each_pv. 2014-10-07 01:15:43 +01:00
snapshot cleanup: Use lv_is_ macros. 2014-09-15 21:33:53 +01:00
striped metadata: use outfc for comments 2014-07-17 16:17:44 +02:00
thin cleanup: drop duplicate const 2014-08-29 13:11:34 +02:00
unknown unknown: add_target_line is not needed 2014-04-30 10:26:30 +02:00
uuid cleanup: drop unused define 2014-03-12 19:12:34 +01:00
zero cleanup: modules_needed only for devmapper 2014-04-30 10:26:30 +02:00
Makefile.in filters: add "usable device" filter 2014-09-30 13:11:58 +02:00