LVM2 ./WHATS_NEW doc/example.conf.in lib/confi ...
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2012-01-20 17:00:00
Modified files:
. : WHATS_NEW doc : example.conf.in lib/config : defaults.h lib/display : display.c
Log message:
Update lvdisplay to show more info about thin LVs
Reformat name and path how the LV is represented with lvm1 compatible option, to switch to the old way - which had number of problem - i.e. many links do not exist - since for private devices we are not creating them. Add more info about thin pools and volumes.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.2227&r2=1.2228
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/doc/example.conf.in.diff?cvsroot=lvm2&r1=1.41&r2=1.42
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/config/defaults.h.diff?cvsroot=lvm2&r1=1.93&r2=1.94
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/display/display.c.diff?cvsroot=lvm2&r1=1.124&r2=1.125
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.89 - ================================== + Update lvdisplay with backward compat. config opt. lvm1_compatible_display. Do not report linear segtype for non-striped targets. Keep info about creation host and time for each logical volume. Make error message hit when preallocated memlock memory exceeded clearer.
doc/example.conf.in +5 -0
@@ -445,6 +445,11 @@ # Specify the '--type <mirror|raid1>' option to override this default # setting. mirror_segtype_default = "mirror" + + # Whether to lvdisplay LV name in lvm1 compatible format /dev/vgname/lvname + # Default is now to display LV name and path (if exists) separately. + # If the old behavior is preffered use set to 1. + # lvm1_compatible_display = 1 } activation {
lib/config/defaults.h +1 -0
@@ -49,6 +49,7 @@#define DEFAULT_PRIORITISE_WRITE_LOCKS 1#define DEFAULT_USE_MLOCKALL 0#define DEFAULT_METADATA_READ_ONLY 0 +#define DEFAULT_LVM1_COMPATIBLE_DISPLAY 0#define DEFAULT_MIRROR_SEGTYPE "mirror"#define DEFAULT_MIRRORLOG "disk"
lib/display/display.c +76 -23
157 lines not on this page · raw message