master - lvconvert: raid0 replace attempt segfaults
by Heinz Mauelshagen
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=94207dfd68ca42...
Commit: 94207dfd68ca426d7cd4a8a0dc84e5a955d3a6d9
Parent: da49d4d54eac64a491b133bdb95e8dd04b6cde8f
Author: Heinz Mauelshagen <heinzm(a)redhat.com>
AuthorDate: Mon Jul 18 20:16:40 2016 +0200
Committer: Heinz Mauelshagen <heinzm(a)redhat.com>
CommitterDate: Mon Jul 18 20:16:40 2016 +0200
lvconvert: raid0 replace attempt segfaults
Any failing stripes in raid0/raid0_meta type LVs cause data loss,
thus replacement via 'lvconvert --replace...' does not make sense.
Patch prohibits replacement on raid0/raid0_meta LVs.
- resolves rhbz1356734
---
lib/metadata/raid_manip.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/lib/metadata/raid_manip.c b/lib/metadata/raid_manip.c
index feb8d6e..2dbbbe4 100644
--- a/lib/metadata/raid_manip.c
+++ b/lib/metadata/raid_manip.c
@@ -2829,6 +2829,12 @@ int lv_raid_replace(struct logical_volume *lv,
struct lv_list *lvl;
char *tmp_names[raid_seg->area_count * 2];
+ if (seg_is_any_raid0(raid_seg)) {
+ log_error("Can't replace any devices in %s LV %s",
+ lvseg_name(raid_seg), display_lvname(lv));
+ return 0;
+ }
+
dm_list_init(&old_lvs);
dm_list_init(&new_meta_lvs);
dm_list_init(&new_data_lvs);
7 years, 9 months
master - dmstats: fix bounds leak in _do_stats_create_regions() (Coverity)
by Bryn Reeves
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=da49d4d54eac64...
Commit: da49d4d54eac64a491b133bdb95e8dd04b6cde8f
Parent: d2bf6742f845df13bae39ae157cfabf44252c570
Author: Bryn M. Reeves <bmr(a)redhat.com>
AuthorDate: Mon Jul 18 18:46:21 2016 +0100
Committer: Bryn M. Reeves <bmr(a)redhat.com>
CommitterDate: Mon Jul 18 18:48:34 2016 +0100
dmstats: fix bounds leak in _do_stats_create_regions() (Coverity)
---
tools/dmsetup.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/dmsetup.c b/tools/dmsetup.c
index 985f63b..ff42a9e 100644
--- a/tools/dmsetup.c
+++ b/tools/dmsetup.c
@@ -4842,15 +4842,15 @@ static int _do_stats_create_regions(struct dm_stats *dms,
struct dm_info info;
void *next = NULL;
- if (histogram && !(bounds = dm_histogram_bounds_from_string(histogram)))
- return_0;
-
if (_switches[ALIAS_ARG] && _switches[NOGROUP_ARG]) {
log_error("Cannot set alias with --nogroup.");
dm_stats_destroy(dms);
return 0;
}
+ if (histogram && !(bounds = dm_histogram_bounds_from_string(histogram)))
+ return_0;
+
if (!(dmt = dm_task_create(DM_DEVICE_TABLE))) {
dm_histogram_bounds_destroy(bounds);
dm_stats_destroy(dms);
7 years, 9 months
master - dmstats: check uuid, major, and alldevices before argc (Coverity)
by Bryn Reeves
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=d2bf6742f845df...
Commit: d2bf6742f845df13bae39ae157cfabf44252c570
Parent: 252952ff339bd928cc4e5ed34958d2845365b397
Author: Bryn M. Reeves <bmr(a)redhat.com>
AuthorDate: Mon Jul 18 18:28:07 2016 +0100
Committer: Bryn M. Reeves <bmr(a)redhat.com>
CommitterDate: Mon Jul 18 18:48:34 2016 +0100
dmstats: check uuid, major, and alldevices before argc (Coverity)
The --uuid, --major and --alldevices arguments were incorrectly tested
after confirming argc is > 0, in a branch that only executes if argc
== 0 (i.e. they were unreachable).
Move all device checks before the test for argc and log an appropriate
error before returning.
---
tools/dmsetup.c | 26 +++++++++++++-------------
1 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/tools/dmsetup.c b/tools/dmsetup.c
index a282572..985f63b 100644
--- a/tools/dmsetup.c
+++ b/tools/dmsetup.c
@@ -4978,24 +4978,24 @@ static int _stats_create_file(CMD_ARGS)
return 0;
}
+ if (_switches[UUID_ARG] || _switches[MAJOR_ARG]) {
+ log_error("--uuid and --major are incompatible with --filemap.");
+ return 0;
+ }
+
+ if (_switches[ALL_DEVICES_ARG]) {
+ log_error("--alldevices is incompatible with --filemap.");
+ return 0;
+ }
+
/* _stats_create_file does not use _process_all() */
- if (names || !argc) {
+ if (!argc) {
log_error("--filemap requires a file path argument");
return 0;
- } else {
- if (argc)
- path = argv[0];
- else {
- if (_switches[UUID_ARG] || _switches[MAJOR_ARG])
- log_error("--uuid and --major are incompatible "
- "with --filemap.");
- if (_switches[ALL_DEVICES_ARG])
- log_error("--alldevices is incompatible with "
- "--filemap.");
- return 0;
- }
}
+ path = argv[0];
+
if (_switches[PRECISE_ARG]) {
if (!dm_stats_driver_supports_precise()) {
log_error("Using --precise requires driver version "
7 years, 9 months
master - libdm: document use of dm_free() with histogram bounds
by Bryn Reeves
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=252952ff339bd9...
Commit: 252952ff339bd928cc4e5ed34958d2845365b397
Parent: da146ae9b90b90607324672207d1be37f16b0e7a
Author: Bryn M. Reeves <bmr(a)redhat.com>
AuthorDate: Mon Jul 18 18:20:01 2016 +0100
Committer: Bryn M. Reeves <bmr(a)redhat.com>
CommitterDate: Mon Jul 18 18:48:34 2016 +0100
libdm: document use of dm_free() with histogram bounds
---
libdm/libdevmapper.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/libdm/libdevmapper.h b/libdm/libdevmapper.h
index 0f61f9c..2270016 100644
--- a/libdm/libdevmapper.h
+++ b/libdm/libdevmapper.h
@@ -805,6 +805,10 @@ int dm_stats_get_region_nr_histogram_bins(const struct dm_stats *dms,
* magnitude is one milisecond: attempting to use a histogram with a
* boundary less than one milisecond when creating a region will cause
* the region to be created with the precise_timestamps feature enabled.
+ *
+ * On sucess a pointer to the struct dm_histogram representing the
+ * bounds values is returned, or NULL in the case of error. The returned
+ * pointer should be freed using dm_free() when no longer required.
*/
struct dm_histogram *dm_histogram_bounds_from_string(const char *bounds_str);
7 years, 9 months
master - dmstats: free bounds string in _stats_create_file() (Coverity)
by Bryn Reeves
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=da146ae9b90b90...
Commit: da146ae9b90b90607324672207d1be37f16b0e7a
Parent: 4ef1f345498045b6757247dc64baad8252260583
Author: Bryn M. Reeves <bmr(a)redhat.com>
AuthorDate: Mon Jul 18 18:17:42 2016 +0100
Committer: Bryn M. Reeves <bmr(a)redhat.com>
CommitterDate: Mon Jul 18 18:48:34 2016 +0100
dmstats: free bounds string in _stats_create_file() (Coverity)
---
tools/dmsetup.c | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/tools/dmsetup.c b/tools/dmsetup.c
index e21d195..a282572 100644
--- a/tools/dmsetup.c
+++ b/tools/dmsetup.c
@@ -5012,8 +5012,15 @@ static int _stats_create_file(CMD_ARGS)
}
}
- if (histogram && !(bounds = dm_histogram_bounds_from_string(histogram)))
+ if (!(abspath = _get_abspath(path))) {
+ log_error("Could not canonicalize file name: %s", path);
+ return 0;
+ }
+
+ if (histogram && !(bounds = dm_histogram_bounds_from_string(histogram))) {
+ dm_free(abspath);
return_0;
+ }
if (_switches[PROGRAM_ID_ARG])
program_id = _string_args[PROGRAM_ID_ARG];
@@ -5023,11 +5030,6 @@ static int _stats_create_file(CMD_ARGS)
precise = _int_args[PRECISE_ARG];
group = !_switches[NOGROUP_ARG];
- if (!(abspath = _get_abspath(path))) {
- log_error("Could not canonicalize file name: %s", path);
- return 0;
- }
-
if (!(dms = dm_stats_create(DM_STATS_PROGRAM_ID)))
return_0;
@@ -5089,8 +5091,7 @@ static int _stats_create_file(CMD_ARGS)
return 1;
bad:
- if (abspath)
- dm_free(abspath);
+ dm_free(abspath);
if ((fd > -1) && close(fd))
log_error("Error closing %s", path);
7 years, 9 months
master - libdm: free hist_arg in _stats_create_file_regions() (Coverity)
by Bryn Reeves
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=4ef1f345498045...
Commit: 4ef1f345498045b6757247dc64baad8252260583
Parent: 4b4d4670042db3edb1270097f4d6046a6a827bac
Author: Bryn M. Reeves <bmr(a)redhat.com>
AuthorDate: Mon Jul 18 18:08:51 2016 +0100
Committer: Bryn M. Reeves <bmr(a)redhat.com>
CommitterDate: Mon Jul 18 18:09:21 2016 +0100
libdm: free hist_arg in _stats_create_file_regions() (Coverity)
---
libdm/libdm-stats.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/libdm/libdm-stats.c b/libdm/libdm-stats.c
index 57ef11d..1c2e19b 100644
--- a/libdm/libdm-stats.c
+++ b/libdm/libdm-stats.c
@@ -4323,6 +4323,8 @@ static uint64_t *_stats_create_file_regions(struct dm_stats *dms, int fd,
}
regions[*count] = DM_STATS_REGION_NOT_PRESENT;
+ if (bounds)
+ dm_free(hist_arg);
dm_pool_free(dms->mem, extents);
return regions;
@@ -4335,6 +4337,7 @@ out_remove:
out:
dm_pool_free(dms->mem, extents);
+ dm_free(hist_arg);
dm_free(regions);
return NULL;
}
7 years, 9 months
master - lvmetad: free memory on exit
by David Teigland
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=4b4d4670042db3...
Commit: 4b4d4670042db3edb1270097f4d6046a6a827bac
Parent: 9c6a26f50ac6be27b6e8d8405fc980c8515e9e8c
Author: David Teigland <teigland(a)redhat.com>
AuthorDate: Mon Jul 18 11:31:00 2016 -0500
Committer: David Teigland <teigland(a)redhat.com>
CommitterDate: Mon Jul 18 11:31:00 2016 -0500
lvmetad: free memory on exit
This is unnecessary but it quiets complaints (valgrind).
---
daemons/lvmetad/lvmetad-core.c | 25 ++++++++++++++++++-------
1 files changed, 18 insertions(+), 7 deletions(-)
diff --git a/daemons/lvmetad/lvmetad-core.c b/daemons/lvmetad/lvmetad-core.c
index c4c1d68..ebaca78 100644
--- a/daemons/lvmetad/lvmetad-core.c
+++ b/daemons/lvmetad/lvmetad-core.c
@@ -808,6 +808,7 @@ static int _update_pvid_to_vgid(lvmetad_state *s, struct dm_config_tree *vg,
if (!dm_hash_insert(s->pvid_to_vgid, pvid, vgid_dup)) {
ERROR(s, "update_pvid_to_vgid out of memory for hash insert vgid %s", vgid_dup);
+ dm_free(vgid_dup);
goto abort_daemon;
}
@@ -829,6 +830,8 @@ static int _update_pvid_to_vgid(lvmetad_state *s, struct dm_config_tree *vg,
abort_daemon:
ERROR(s, "lvmetad could not be updated and is aborting.");
+ if (to_check)
+ dm_hash_destroy(to_check);
exit(EXIT_FAILURE);
}
@@ -1201,6 +1204,10 @@ static int _update_metadata_add_new(lvmetad_state *s, const char *new_name, cons
out:
out_free:
if (!new_name_dup || !new_vgid_dup || abort_daemon) {
+ if (new_name_dup)
+ dm_free(new_name_dup);
+ if (new_vgid_dup)
+ dm_free(new_vgid_dup);
ERROR(s, "lvmetad could not be updated and is aborting.");
exit(EXIT_FAILURE);
}
@@ -2051,7 +2058,7 @@ static response pv_found(lvmetad_state *s, request r)
changed |= 1;
if (!dm_hash_insert(s->pvid_to_pvmeta, arg_pvid, new_pvmeta))
- goto nomem;
+ goto nomem_free1;
} else if (new_pvid && new_device) {
/*
@@ -2065,13 +2072,13 @@ static response pv_found(lvmetad_state *s, request r)
new_device, new_pvid);
if (!(new_pvid_dup = dm_strdup(new_pvid)))
- goto nomem;
+ goto nomem_free1;
if (!dm_hash_insert_binary(s->device_to_pvid, &new_device, sizeof(new_device), (char *)new_pvid_dup))
- goto nomem;
+ goto nomem_free2;
if (!dm_hash_insert(s->pvid_to_pvmeta, new_pvid, new_pvmeta))
- goto nomem;
+ goto nomem_free1;
} else if (new_pvid && !new_device) {
/*
@@ -2111,13 +2118,13 @@ static response pv_found(lvmetad_state *s, request r)
if (!(new_pvid_dup = dm_strdup(new_pvid)))
- goto nomem;
+ goto nomem_free1;
if (!dm_hash_insert_binary(s->device_to_pvid, &arg_device, sizeof(arg_device), (char *)new_pvid_dup))
- goto nomem;
+ goto nomem_free2;
if (!dm_hash_insert(s->pvid_to_pvmeta, new_pvid, new_pvmeta))
- goto nomem;
+ goto nomem_free1;
} else if (new_device && !new_pvid) {
/*
@@ -2225,6 +2232,10 @@ static response pv_found(lvmetad_state *s, request r)
"seqno_after = " FMTd64, (int64_t) vg_status_seqno,
NULL);
+ nomem_free2:
+ dm_free((char *)new_pvid_dup);
+ nomem_free1:
+ dm_config_destroy(new_pvmeta);
nomem:
ERROR(s, "pv_found %s is out of memory.", arg_pvid);
ERROR(s, "lvmetad could not be updated is aborting.");
7 years, 9 months
v2_02_161 annotated tag has been created
by Alasdair Kergon
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=e9b53f261310aa...
Commit: e9b53f261310aa6481eb84f18017a31cc47dbdfe
Parent: 0000000000000000000000000000000000000000
Author: Alasdair G Kergon <agk(a)redhat.com>
AuthorDate: 2016-07-15 20:57 +0000
Committer: Alasdair G Kergon <agk(a)redhat.com>
CommitterDate: 2016-07-15 20:57 +0000
annotated tag: v2_02_161 has been created
at e9b53f261310aa6481eb84f18017a31cc47dbdfe (tag)
tagging 3d717b52c144699ec1ad096f71088b455cd87faf (commit)
replaces v2_02_160
Release 2.02.161.
dmstats extensions for monitoring I/O to individual files, together
with an assortment of bug fixes mostly related to the recently-added
raid0 code.
47 files changed, 2433 insertions(+), 928 deletions(-)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
iEYEABECAAYFAleJTrcACgkQIoGRwVZ+LBdSzACg907pJ7rt2/U9FHyi9mrYSYpA
a2oAoOStGScOABpUBPhTLGN8v0j5qCmY
=cdtZ
-----END PGP SIGNATURE-----
Alasdair G Kergon (5):
post-release
macros: Add lv_is_not_synced.
string: Add first_substring().
Revert "lvcreate: raid0 needs default number of stripes"
pre-release
Bryn M. Reeves (26):
libdm: enclose dm_stats_walk_do/while() body in do..while
libdm: fix resource leak in dm_stats_set_alias()
libdm: improve comments in stats grouping functions
dmstats: ensure dm_stats_delete_region() return is checked
libdm: fix group resource leak in dm_stats_delete_region()
libdm: add dm_stats_create_regions_from_fd()
dmstats: add create --filemap
doc: update dmstats.8.in for --filemap and --nogroup
libdm: add aggregation support to dm_stats_get_histogram()
libdm: allow regions with histograms in dm_stats_create_group()
doc: mention group histogram restrictions in dmstats.8.in
libdm: enable creation of filemap regions with histograms
dmstats: allow --bounds with 'create --filemap'
WHATS_NEW_DM: add --filemap and histogram aggregation
dmstats: group regions by default with --segments
doc: mention --segments grouping in dmstats.8.in
WHATS_NEW_DM: add --segments grouping and resource leak fix
doc: remove obsolete --statstype references from dmstats.8.in
dmstats: use canonical path when reporting errors
libdm: use SECTOR_SHIFT constant in _stats_add_extent()
libdm: use a constant for FIEMAP buffer size
dmstats: accept multiple arguments to --filemap
doc: update --filemap usage in dmstats.8.in
libdm: use macro for boundary test in _stats_get_extents_for_file()
libdm: use 'goto_bad' if extent pool allocation fails
libdm: add configure.in checks for fiemap.h and magic.h
David Teigland (15):
man: clarify lvcreate size in extents
vgcreate: allow pvcreate force option
lvconvert: allow converting type mirror to type linear
lvconvert: allow converting type raid1 to type linear
man: more rewording for lvcreate size
man: rewrite lvconvert
man: more lvcreate size rewording
lvconvert: don't show aliases in error output
lvconvert: allow splitcache on hidden/used cache pool
man: lvconvert changes
man: lvconvert changes
lvconvert: remove some FIXME comments
Revert "man: restore lost synopsis for lvconvert"
man: changes to lvconvert
man: drop lvmraid references from lvconvert
Heinz Mauelshagen (7):
man: enhance lvconvert
vgsplit: temporary list pointer may be invalid
vgsplit: use dm_list_next()
lvchange: resync attempts on raid0 cause segfaults
raid_manip: 'vgreduce --removemissing --force ...' segfaults on raid0 LV
lv_manip: extension of raid0 causes livelock
lvcreate: raid0 needs default number of stripes
Peter Rajnoha (3):
blkdeactivate: add -m|--mpathoption disablequeueing and use it for blk-availability systemd service and initscript
man: lvcreate: try to be clearer about -W|--wipesignatures
lvmdump: include major and minor numbers for pvs and lvs reports
Zdenek Kabelac (20):
tests: add LVM_LOG_FILE_MAX_LINES
tests: increase max lines for clvmd
tests: reduce amount of pvcreates
tests: skip some tests for older cache driver
cleanup: gcc warns removal
cleanup: lvconvert display_lvname and indent updates
man: restore lost synopsis for lvconvert
tests: cache error message changes too often
tests: remove more test
lvresize: fix zero size extension
cleanup: add some dots to messages
tests: resize of filesystem
tests: skip more cache tests for older driver
coverity: easier to follow set-up of vsn variable
coverity: cleaning some PW.NOT_COMPATIBLE_WITH_PREVIOUS_DECL
coverity: add some tests for function results
tests: require better cache driver
tests: check fail path on cache creation
coverity: close socket before closing app
cleanup: local static functions with _
7 years, 9 months
master - post-release
by Alasdair Kergon
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=9c6a26f50ac6be...
Commit: 9c6a26f50ac6be27b6e8d8405fc980c8515e9e8c
Parent: 3d717b52c144699ec1ad096f71088b455cd87faf
Author: Alasdair G Kergon <agk(a)redhat.com>
AuthorDate: Fri Jul 15 22:02:58 2016 +0100
Committer: Alasdair G Kergon <agk(a)redhat.com>
CommitterDate: Fri Jul 15 22:02:58 2016 +0100
post-release
---
VERSION | 2 +-
VERSION_DM | 2 +-
WHATS_NEW | 3 +++
WHATS_NEW_DM | 3 +++
4 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/VERSION b/VERSION
index 2468807..297fa86 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.02.161(2)-git (2016-07-15)
+2.02.162(2)-git (2016-07-15)
diff --git a/VERSION_DM b/VERSION_DM
index 4cdbea7..79d0cc5 100644
--- a/VERSION_DM
+++ b/VERSION_DM
@@ -1 +1 @@
-1.02.131-git (2016-07-15)
+1.02.132-git (2016-07-15)
diff --git a/WHATS_NEW b/WHATS_NEW
index cbd0ceb..ba1a58b 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,3 +1,6 @@
+Version 2.02.162 -
+=================================
+
Version 2.02.161 - 15th July 2016
=================================
Prohibit some lvchange/lvresize that were failing on raid0 volumes.
diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM
index c02cb3f..53d0388 100644
--- a/WHATS_NEW_DM
+++ b/WHATS_NEW_DM
@@ -1,3 +1,6 @@
+Version 1.02.132 -
+=================================
+
Version 1.02.131 - 15th July 2016
=================================
Disable queueing on mpath devs in blk-availability systemd service/initscript.
7 years, 9 months
master - pre-release
by Alasdair Kergon
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=3d717b52c14469...
Commit: 3d717b52c144699ec1ad096f71088b455cd87faf
Parent: c425cdd115d56a0f0ec7779934f194af88487905
Author: Alasdair G Kergon <agk(a)redhat.com>
AuthorDate: Fri Jul 15 21:55:38 2016 +0100
Committer: Alasdair G Kergon <agk(a)redhat.com>
CommitterDate: Fri Jul 15 21:55:38 2016 +0100
pre-release
---
VERSION | 2 +-
VERSION_DM | 2 +-
WHATS_NEW | 10 +++++++---
WHATS_NEW_DM | 4 ++--
libdaemon/server/daemon-server.c | 2 +-
man/lvm.8.in | 5 ++---
6 files changed, 14 insertions(+), 11 deletions(-)
diff --git a/VERSION b/VERSION
index 822a2c2..2468807 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.02.161(2)-git (2016-07-06)
+2.02.161(2)-git (2016-07-15)
diff --git a/VERSION_DM b/VERSION_DM
index 4dea605..4cdbea7 100644
--- a/VERSION_DM
+++ b/VERSION_DM
@@ -1 +1 @@
-1.02.131-git (2016-07-06)
+1.02.131-git (2016-07-15)
diff --git a/WHATS_NEW b/WHATS_NEW
index 3ed398c..cbd0ceb 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,6 +1,10 @@
-Version 2.02.161 -
-================================
- Fix lvresize of filesystem when LV has already right size (2.02.141).
+Version 2.02.161 - 15th July 2016
+=================================
+ Prohibit some lvchange/lvresize that were failing on raid0 volumes.
+ Fix segfaults in complex vgsplits. (2.02.159)
+ Reformat unwieldy lvconvert man page.
+ Allow --force to be passed through to pvcreate from vgcreate. (2.02.144)
+ Fix lvresize of filesystem when LV has already right size (2.02.141)
New LVM_LOG_FILE_MAX_LINES env var to limit max size of created logs.
Version 2.02.160 - 6th July 2016
diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM
index a1d41b4..c02cb3f 100644
--- a/WHATS_NEW_DM
+++ b/WHATS_NEW_DM
@@ -1,5 +1,5 @@
-Version 1.02.131 -
-================================
+Version 1.02.131 - 15th July 2016
+=================================
Disable queueing on mpath devs in blk-availability systemd service/initscript.
Add new -m|--mpathoption disablequeueing to blkdeactivate.
Automatically group regions with 'create --segments' unless --nogroup.
diff --git a/libdaemon/server/daemon-server.c b/libdaemon/server/daemon-server.c
index c3402a0..4d65466 100644
--- a/libdaemon/server/daemon-server.c
+++ b/libdaemon/server/daemon-server.c
@@ -662,7 +662,7 @@ out:
if (s.socket_fd >= 0)
if (close(s.socket_fd))
- perror("scoket close");
+ perror("socket close");
if (s.daemon_fini)
if (!s.daemon_fini(&s))
diff --git a/man/lvm.8.in b/man/lvm.8.in
index 82d0558..f0d094d 100644
--- a/man/lvm.8.in
+++ b/man/lvm.8.in
@@ -779,9 +779,8 @@ this format string "_%s_%d_%llu". When set, each process logs to a
separate file.
.TP
.B LVM_LOG_FILE_MAX_LINES
-A max number of lines to be printed to log file before
-the application aborts. Useful for testing to prevent creation
-of too big log files from spinning command.
+If more than this number of lines are sent to the log file, the command gets
+aborted. Automated tests use this to terminate looping commands.
.TP
.B LVM_EXPECTED_EXIT_STATUS
The status anticipated when the process exits. Use ">N" to match any
7 years, 9 months