public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2 ./WHATS_NEW lib/config/defaults.h
@ 2011-08-02 10:49 prajnoha
  0 siblings, 0 replies; 3+ messages in thread
From: prajnoha @ 2011-08-02 10:49 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	prajnoha@sourceware.org	2011-08-02 10:49:57

Modified files:
	.              : WHATS_NEW 
	lib/config     : defaults.h 

Log message:
	Change DEFAULT_UDEV_SYNC to 1 so udev_sync is used even without any config.
	
	This should be set by default! Normally we have "activation/udev_sync = 1"
	in lvm.conf (example.conf.in). But if we use lvm2 without any config file
	(or without a definition within '--config' option) the DEFAULT_UDEV_SYNC
	is used instead. Together with verify_udev_operations=0 (when we rely on
	udev fully), this can cause races as the node could be missing when needed.
	
	(See also https://bugzilla.redhat.com/show_bug.cgi?id=723144)

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.2044&r2=1.2045
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/config/defaults.h.diff?cvsroot=lvm2&r1=1.78&r2=1.79

--- LVM2/WHATS_NEW	2011/07/28 12:57:26	1.2044
+++ LVM2/WHATS_NEW	2011/08/02 10:49:57	1.2045
@@ -1,5 +1,6 @@
 Version 2.02.87 - 
 ===============================
+  Change DEFAULT_UDEV_SYNC to 1 so udev_sync is used even without any config.
   Add systemd unit file to provide lvm2 monitoring.
   Compare also file size to detect changed config file.
 
--- LVM2/lib/config/defaults.h	2011/07/01 14:09:20	1.78
+++ LVM2/lib/config/defaults.h	2011/08/02 10:49:57	1.79
@@ -77,7 +77,7 @@
 #define DEFAULT_LABELSECTOR UINT64_C(1)
 #define DEFAULT_READ_AHEAD "auto"
 #define DEFAULT_UDEV_RULES 1
-#define DEFAULT_UDEV_SYNC 0
+#define DEFAULT_UDEV_SYNC 1
 #define DEFAULT_VERIFY_UDEV_OPERATIONS 0
 #define DEFAULT_ACTIVATION_CHECKS 0
 #define DEFAULT_EXTENT_SIZE 4096	/* In KB */


^ permalink raw reply	[flat|nested] 3+ messages in thread

* LVM2 ./WHATS_NEW lib/config/defaults.h
@ 2012-01-25 11:32 zkabelac
  0 siblings, 0 replies; 3+ messages in thread
From: zkabelac @ 2012-01-25 11:32 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	zkabelac@sourceware.org	2012-01-25 11:32:42

Modified files:
	.              : WHATS_NEW 
	lib/config     : defaults.h 

Log message:
	Update verbose lvs  to print metadata_percent info
	
	Update lvs  -o fields in WHATS_NEW.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.2238&r2=1.2239
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/config/defaults.h.diff?cvsroot=lvm2&r1=1.94&r2=1.95

--- LVM2/WHATS_NEW	2012/01/25 09:00:57	1.2238
+++ LVM2/WHATS_NEW	2012/01/25 11:32:41	1.2239
@@ -1,5 +1,10 @@
 Version 2.02.89 - 
 ==================================
+  Thin pools have segment fields thin_count, zero, transaction_id.
+  Each new created LV volume has creation lv_time and lv_host.
+  Print data_percent and metadata_percent for verbose lvs.
+  Thin pool support lvs data_percent, metadata_percent, data/metadata_lv.
+  Thin volumes support lvs options data_percent, pool_lv.
   Update lv_info to use -real layer for origin_only LVs.
   Add lv_thin_pool_transaction_id to read the transaction_id value.
   Use suspend|resume_origin_only when up-converting RAID, as mirrors do.
--- LVM2/lib/config/defaults.h	2012/01/20 16:59:59	1.94
+++ LVM2/lib/config/defaults.h	2012/01/25 11:32:41	1.95
@@ -155,7 +155,7 @@
 #define DEFAULT_SEGS_COLS "lv_name,vg_name,lv_attr,stripes,segtype,seg_size"
 #define DEFAULT_PVSEGS_COLS "pv_name,vg_name,pv_fmt,pv_attr,pv_size,pv_free,pvseg_start,pvseg_size"
 
-#define DEFAULT_LVS_COLS_VERB "lv_name,vg_name,seg_count,lv_attr,lv_size,lv_major,lv_minor,lv_kernel_major,lv_kernel_minor,pool_lv,origin,data_percent,move_pv,copy_percent,mirror_log,convert_lv,lv_uuid"
+#define DEFAULT_LVS_COLS_VERB "lv_name,vg_name,seg_count,lv_attr,lv_size,lv_major,lv_minor,lv_kernel_major,lv_kernel_minor,pool_lv,origin,data_percent,metadata_percent,move_pv,copy_percent,mirror_log,convert_lv,lv_uuid"
 #define DEFAULT_VGS_COLS_VERB "vg_name,vg_attr,vg_extent_size,pv_count,lv_count,snap_count,vg_size,vg_free,vg_uuid"
 #define DEFAULT_PVS_COLS_VERB "pv_name,vg_name,pv_fmt,pv_attr,pv_size,pv_free,dev_size,pv_uuid"
 #define DEFAULT_SEGS_COLS_VERB "lv_name,vg_name,lv_attr,seg_start,seg_size,stripes,segtype,stripesize,chunksize"


^ permalink raw reply	[flat|nested] 3+ messages in thread

* LVM2 ./WHATS_NEW lib/config/defaults.h
@ 2008-01-10 19:25 agk
  0 siblings, 0 replies; 3+ messages in thread
From: agk @ 2008-01-10 19:25 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	agk@sourceware.org	2008-01-10 19:25:07

Modified files:
	.              : WHATS_NEW 
	lib/config     : defaults.h 

Log message:
	Add lv_convert field to default lvs output.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.755&r2=1.756
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/config/defaults.h.diff?cvsroot=lvm2&r1=1.35&r2=1.36

--- LVM2/WHATS_NEW	2008/01/09 15:55:44	1.755
+++ LVM2/WHATS_NEW	2008/01/10 19:25:07	1.756
@@ -1,5 +1,6 @@
 Version 2.02.30 -
 ===================================
+  Add new lv_convert field to lvs output.
   Print warning when lvm tools are running as non-root.
   Add snapshot dmeventd library (enables dmeventd snapshot monitoring).
   Prevent pvcreate from overwriting MDA-less PVs belonging to active VGs.
--- LVM2/lib/config/defaults.h	2007/12/14 21:53:01	1.35
+++ LVM2/lib/config/defaults.h	2008/01/10 19:25:07	1.36
@@ -103,13 +103,13 @@
 #define DEFAULT_REP_HEADINGS 1
 #define DEFAULT_REP_SEPARATOR " "
 
-#define DEFAULT_LVS_COLS "lv_name,vg_name,lv_attr,lv_size,origin,snap_percent,move_pv,mirror_log,copy_percent"
+#define DEFAULT_LVS_COLS "lv_name,vg_name,lv_attr,lv_size,origin,snap_percent,move_pv,mirror_log,copy_percent,lv_convert"
 #define DEFAULT_VGS_COLS "vg_name,pv_count,lv_count,snap_count,vg_attr,vg_size,vg_free"
 #define DEFAULT_PVS_COLS "pv_name,vg_name,pv_fmt,pv_attr,pv_size,pv_free"
 #define DEFAULT_SEGS_COLS "lv_name,vg_name,lv_attr,stripes,segtype,seg_size"
 #define DEFAULT_PVSEGS_COLS "pv_name,vg_name,pv_fmt,pv_attr,pv_size,pv_free,pvseg_start,pvseg_size"
 
-#define DEFAULT_LVS_COLS_VERB "lv_name,vg_name,seg_count,lv_attr,lv_size,lv_major,lv_minor,lv_kernel_major,lv_kernel_minor,origin,snap_percent,move_pv,copy_percent,mirror_log,lv_uuid"
+#define DEFAULT_LVS_COLS_VERB "lv_name,vg_name,seg_count,lv_attr,lv_size,lv_major,lv_minor,lv_kernel_major,lv_kernel_minor,origin,snap_percent,move_pv,copy_percent,mirror_log,lv_convert,lv_uuid"
 #define DEFAULT_VGS_COLS_VERB "vg_name,vg_attr,vg_extent_size,pv_count,lv_count,snap_count,vg_size,vg_free,vg_uuid"
 #define DEFAULT_PVS_COLS_VERB "pv_name,vg_name,pv_fmt,pv_attr,pv_size,pv_free,dev_size,pv_uuid"
 #define DEFAULT_SEGS_COLS_VERB "lv_name,vg_name,lv_attr,seg_start,seg_size,stripes,segtype,stripesize,chunksize"


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-01-25 11:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-02 10:49 LVM2 ./WHATS_NEW lib/config/defaults.h prajnoha
  -- strict thread matches above, loose matches on Subject: below --
2012-01-25 11:32 zkabelac
2008-01-10 19:25 agk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).