master - cov: index off by one
by Zdenek Kabelac
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=77aa055e8a34eb7f003...
Commit: 77aa055e8a34eb7f0036b6240f3f93dc429c0c02
Parent: 2ab784440a2cbde7448a3f5e315f7e8a8cbcf729
Author: Zdenek Kabelac <zkabelac(a)redhat.com>
AuthorDate: Mon Oct 15 14:43:25 2018 +0200
Committer: Zdenek Kabelac <zkabelac(a)redhat.com>
CommitterDate: Mon Oct 15 17:49:44 2018 +0200
cov: index off by one
Basically apply stable patch fdb6ef8a85e9adc4805202b3200b17bd3b351982 to internal libdm version.
---
device_mapper/libdm-common.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/device_mapper/libdm-common.c b/device_mapper/libdm-common.c
index 111fff6..eec31d7 100644
--- a/device_mapper/libdm-common.c
+++ b/device_mapper/libdm-common.c
@@ -1765,7 +1765,7 @@ static int _mountinfo_parse_line(const char *line, unsigned *maj, unsigned *min,
return 0;
}
devmapper += 12; /* skip fixed prefix */
- for (i = 0; devmapper[i] && devmapper[i] != ' ' && i < sizeof(root); ++i)
+ for (i = 0; devmapper[i] && devmapper[i] != ' ' && i < sizeof(root)-1; ++i)
root[i] = devmapper[i];
root[i] = 0;
_unmangle_mountinfo_string(root, buf);
5 years, 6 months
master - cov: fix leaking openned file descriptors
by Zdenek Kabelac
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=2ab784440a2cbde7448...
Commit: 2ab784440a2cbde7448a3f5e315f7e8a8cbcf729
Parent: 9b85ecb85b2875bd6743a97147355218879aef3a
Author: Zdenek Kabelac <zkabelac(a)redhat.com>
AuthorDate: Mon Oct 15 14:34:31 2018 +0200
Committer: Zdenek Kabelac <zkabelac(a)redhat.com>
CommitterDate: Mon Oct 15 17:49:44 2018 +0200
cov: fix leaking openned file descriptors
Once the FD is no longer needed, close it.
---
tools/pvscan.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tools/pvscan.c b/tools/pvscan.c
index a4c0244..fd75362 100644
--- a/tools/pvscan.c
+++ b/tools/pvscan.c
@@ -216,6 +216,8 @@ static void _online_pvid_file_remove_devno(int major, int minor)
}
rv = read(fd, buf_in, sizeof(buf_in));
+ if (close(fd))
+ log_sys_debug("close", path);
if (!rv || rv < 0) {
log_debug("Failed to read %s", path);
continue;
5 years, 6 months
master - cov: fix memleak on bcache io error path
by Zdenek Kabelac
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=9b85ecb85b2875bd674...
Commit: 9b85ecb85b2875bd6743a97147355218879aef3a
Parent: 3222924c3dd595f6d185b180341acfa46954307a
Author: Zdenek Kabelac <zkabelac(a)redhat.com>
AuthorDate: Mon Oct 15 14:29:52 2018 +0200
Committer: Zdenek Kabelac <zkabelac(a)redhat.com>
CommitterDate: Mon Oct 15 17:49:44 2018 +0200
cov: fix memleak on bcache io error path
Drop allocated IO.
merge free bache
---
lib/device/bcache.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/device/bcache.c b/lib/device/bcache.c
index 5e795c5..43ca63e 100644
--- a/lib/device/bcache.c
+++ b/lib/device/bcache.c
@@ -329,6 +329,7 @@ static bool _sync_issue(struct io_engine *ioe, enum dir d, int fd,
r = lseek(fd, where, SEEK_SET);
if (r < 0) {
log_warn("unable to seek to position %llu", (unsigned long long) where);
+ free(io);
return false;
}
@@ -343,6 +344,7 @@ static bool _sync_issue(struct io_engine *ioe, enum dir d, int fd,
if (r < 0) {
log_warn("io failed %d", r);
+ free(io);
return false;
}
@@ -351,6 +353,7 @@ static bool _sync_issue(struct io_engine *ioe, enum dir d, int fd,
if (len) {
log_warn("short io %u bytes remaining", (unsigned) len);
+ free(io);
return false;
}
5 years, 6 months
master - cov: dmeventd plugin fix memleak
by Zdenek Kabelac
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=3222924c3dd595f6d18...
Commit: 3222924c3dd595f6d185b180341acfa46954307a
Parent: fbfbbf6d6a4c27d1a9965c196cf625a49223eccd
Author: Zdenek Kabelac <zkabelac(a)redhat.com>
AuthorDate: Mon Oct 15 14:21:55 2018 +0200
Committer: Zdenek Kabelac <zkabelac(a)redhat.com>
CommitterDate: Mon Oct 15 17:49:22 2018 +0200
cov: dmeventd plugin fix memleak
Fix memory leak when policy command fails too frequently and
plugin decided to skip it.
---
daemons/dmeventd/plugins/thin/dmeventd_thin.c | 2 +-
daemons/dmeventd/plugins/vdo/dmeventd_vdo.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/daemons/dmeventd/plugins/thin/dmeventd_thin.c b/daemons/dmeventd/plugins/thin/dmeventd_thin.c
index 14bfd80..64fe6ca 100644
--- a/daemons/dmeventd/plugins/thin/dmeventd_thin.c
+++ b/daemons/dmeventd/plugins/thin/dmeventd_thin.c
@@ -286,7 +286,7 @@ void process_event(struct dm_task *dmt,
if (state->fails++ <= state->max_fails) {
log_debug("Postponing frequently failing policy (%u <= %u).",
state->fails - 1, state->max_fails);
- return;
+ goto out;
}
if (state->max_fails < MAX_FAILS)
state->max_fails <<= 1;
diff --git a/daemons/dmeventd/plugins/vdo/dmeventd_vdo.c b/daemons/dmeventd/plugins/vdo/dmeventd_vdo.c
index d77ca79..abed41e 100644
--- a/daemons/dmeventd/plugins/vdo/dmeventd_vdo.c
+++ b/daemons/dmeventd/plugins/vdo/dmeventd_vdo.c
@@ -245,7 +245,7 @@ void process_event(struct dm_task *dmt,
if (state->fails++ <= state->max_fails) {
log_debug("Postponing frequently failing policy (%u <= %u).",
state->fails - 1, state->max_fails);
- return;
+ goto out;
}
if (state->max_fails < MAX_FAILS)
state->max_fails <<= 1;
5 years, 6 months
master - cov: drop check for pointer
by Zdenek Kabelac
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=fbfbbf6d6a4c27d1a99...
Commit: fbfbbf6d6a4c27d1a9965c196cf625a49223eccd
Parent: 1bb30a8c27ce73433748b49b5478e6ce2b7d4703
Author: Zdenek Kabelac <zkabelac(a)redhat.com>
AuthorDate: Mon Oct 15 14:19:22 2018 +0200
Committer: Zdenek Kabelac <zkabelac(a)redhat.com>
CommitterDate: Mon Oct 15 14:24:28 2018 +0200
cov: drop check for pointer
Pointer must be always set and it's been already dereferenced.
---
lib/metadata/raid_manip.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/metadata/raid_manip.c b/lib/metadata/raid_manip.c
index 1af3729..3944dc4 100644
--- a/lib/metadata/raid_manip.c
+++ b/lib/metadata/raid_manip.c
@@ -2243,7 +2243,7 @@ static int _vg_write_lv_suspend_commit_backup(struct volume_group *vg,
return_0;
}
- if (lv && !(r = (origin_only ? suspend_lv_origin(vg->cmd, lock_lv) :
+ if (!(r = (origin_only ? suspend_lv_origin(vg->cmd, lock_lv) :
suspend_lv(vg->cmd, lock_lv)))) {
log_error("Failed to suspend %s before committing changes.",
display_lvname(lv));
5 years, 6 months
master - cov: warn about failing sigaction
by Zdenek Kabelac
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=1bb30a8c27ce7343374...
Commit: 1bb30a8c27ce73433748b49b5478e6ce2b7d4703
Parent: 5811fa33bbdb2065966489f334ba9fb1174369ca
Author: Zdenek Kabelac <zkabelac(a)redhat.com>
AuthorDate: Mon Oct 15 14:15:58 2018 +0200
Committer: Zdenek Kabelac <zkabelac(a)redhat.com>
CommitterDate: Mon Oct 15 14:24:28 2018 +0200
cov: warn about failing sigaction
---
tools/toollib.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/tools/toollib.c b/tools/toollib.c
index 85d44b3..c2ffa42 100644
--- a/tools/toollib.c
+++ b/tools/toollib.c
@@ -59,7 +59,8 @@ int become_daemon(struct cmd_context *cmd, int skip_lvm)
log_verbose("Forking background process from command: %s", cmd->cmd_line);
- sigaction(SIGCHLD, &act, NULL);
+ if (sigaction(SIGCHLD, &act, NULL))
+ log_warn("WARNING: Failed to set SIGCHLD action.");
if (!skip_lvm)
if (!sync_local_dev_names(cmd)) { /* Flush ops and reset dm cookie */
5 years, 6 months
master - cov: missed return value test
by Zdenek Kabelac
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=5811fa33bbdb2065966...
Commit: 5811fa33bbdb2065966489f334ba9fb1174369ca
Parent: 954b885a08a733308e1117f166d41f4443cd13c3
Author: Zdenek Kabelac <zkabelac(a)redhat.com>
AuthorDate: Mon Oct 15 14:12:18 2018 +0200
Committer: Zdenek Kabelac <zkabelac(a)redhat.com>
CommitterDate: Mon Oct 15 14:24:28 2018 +0200
cov: missed return value test
Check validity of read.
---
lib/format_text/format-text.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/format_text/format-text.c b/lib/format_text/format-text.c
index 9634e47..99945b1 100644
--- a/lib/format_text/format-text.c
+++ b/lib/format_text/format-text.c
@@ -466,7 +466,8 @@ static struct raw_locn *_read_metadata_location_vg(struct device_area *dev_area,
*/
memset(vgnamebuf, 0, sizeof(vgnamebuf));
- dev_read_bytes(dev_area->dev, dev_area->start + rlocn->offset, NAME_LEN, vgnamebuf);
+ if (!dev_read_bytes(dev_area->dev, dev_area->start + rlocn->offset, NAME_LEN, vgnamebuf))
+ return_NULL;
if (!strncmp(vgnamebuf, vgname, len = strlen(vgname)) &&
(isspace(vgnamebuf[len]) || vgnamebuf[len] == '{'))
@@ -1469,7 +1470,8 @@ int read_metadata_location_summary(const struct format_type *fmt,
return 0;
}
- dev_read_bytes(dev_area->dev, dev_area->start + rlocn->offset, NAME_LEN, buf);
+ if (!dev_read_bytes(dev_area->dev, dev_area->start + rlocn->offset, NAME_LEN, buf))
+ return_0;
while (buf[len] && !isspace(buf[len]) && buf[len] != '{' &&
len < (NAME_LEN - 1))
5 years, 6 months
master - build: make genrate config file
by Marian Csontos
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=954b885a08a733308e1...
Commit: 954b885a08a733308e1117f166d41f4443cd13c3
Parent: 48768cc5be64504863c80d61f3d8f6ec4fbfe589
Author: Marian Csontos <mcsontos(a)redhat.com>
AuthorDate: Thu Oct 11 10:44:09 2018 +0200
Committer: Marian Csontos <mcsontos(a)redhat.com>
CommitterDate: Thu Oct 11 11:06:23 2018 +0200
build: make genrate config file
---
conf/example.conf.in | 48 ++++++++++++------------------------------------
1 files changed, 12 insertions(+), 36 deletions(-)
diff --git a/conf/example.conf.in b/conf/example.conf.in
index 36204d3..2690006 100644
--- a/conf/example.conf.in
+++ b/conf/example.conf.in
@@ -123,7 +123,6 @@ devices {
# then the device is accepted. Be careful mixing 'a' and 'r' patterns,
# as the combination might produce unexpected results (test changes.)
# Run vgscan after changing the filter to regenerate the cache.
- # See the use_lvmetad comment for a special case regarding filters.
#
# Example
# Accept every block device:
@@ -143,7 +142,7 @@ devices {
# Configuration option devices/global_filter.
# Limit the block devices that are used by LVM system components.
# Because devices/filter may be overridden from the command line, it is
- # not suitable for system-wide device filtering, e.g. udev and lvmetad.
+ # not suitable for system-wide device filtering, e.g. udev.
# Use global_filter to hide devices from these LVM system components.
# The syntax is the same as devices/filter. Devices rejected by
# global_filter are not opened by LVM.
@@ -179,6 +178,10 @@ devices {
# present on the system. sysfs must be part of the kernel and mounted.)
sysfs_scan = 1
+ # Configuration option devices/scan_lvs.
+ # Scan LVM LVs for layered PVs.
+ scan_lvs = 1
+
# Configuration option devices/multipath_component_detection.
# Ignore devices that are components of DM multipath devices.
multipath_component_detection = 1
@@ -336,7 +339,7 @@ allocation {
maximise_cling = 1
# Configuration option allocation/use_blkid_wiping.
- # Use blkid to detect existing signatures on new PVs and LVs.
+ # Use blkid to detect and erase existing signatures on new PVs and LVs.
# The blkid library can detect more signatures than the native LVM
# detection code, but may take longer. LVM needs to be compiled with
# blkid wiping support for this setting to apply. LVM native detection
@@ -744,9 +747,9 @@ log {
# Select log messages by class.
# Some debugging messages are assigned to a class and only appear in
# debug output if the class is listed here. Classes currently
- # available: memory, devices, io, activation, allocation, lvmetad,
+ # available: memory, devices, io, activation, allocation,
# metadata, cache, locking, lvmpolld. Use "all" to see everything.
- debug_classes = [ "memory", "devices", "io", "activation", "allocation", "lvmetad", "metadata", "cache", "locking", "lvmpolld", "dbus" ]
+ debug_classes = [ "memory", "devices", "io", "activation", "allocation", "metadata", "cache", "locking", "lvmpolld", "dbus" ]
}
# Configuration section backup.
@@ -990,40 +993,13 @@ global {
# lvdisplay_shows_full_device_path = 0
# Configuration option global/use_lvmetad.
- # Use lvmetad to cache metadata and reduce disk scanning.
- # When enabled (and running), lvmetad provides LVM commands with VG
- # metadata and PV state. LVM commands then avoid reading this
- # information from disks which can be slow. When disabled (or not
- # running), LVM commands fall back to scanning disks to obtain VG
- # metadata. lvmetad is kept updated via udev rules which must be set
- # up for LVM to work correctly. (The udev rules should be installed
- # by default.) Without a proper udev setup, changes in the system's
- # block device configuration will be unknown to LVM, and ignored
- # until a manual 'pvscan --cache' is run. If lvmetad was running
- # while use_lvmetad was disabled, it must be stopped, use_lvmetad
- # enabled, and then started. When using lvmetad, LV activation is
- # switched to an automatic, event-based mode. In this mode, LVs are
- # activated based on incoming udev events that inform lvmetad when
- # PVs appear on the system. When a VG is complete (all PVs present),
- # it is auto-activated. The auto_activation_volume_list setting
- # controls which LVs are auto-activated (all by default.)
- # When lvmetad is updated (automatically by udev events, or directly
- # by pvscan --cache), devices/filter is ignored and all devices are
- # scanned by default. lvmetad always keeps unfiltered information
- # which is provided to LVM commands. Each LVM command then filters
- # based on devices/filter. This does not apply to other, non-regexp,
- # filtering settings: component filters such as multipath and MD
- # are checked during pvscan --cache. To filter a device and prevent
- # scanning from the LVM system entirely, including lvmetad, use
- # devices/global_filter.
- use_lvmetad = @DEFAULT_USE_LVMETAD@
+ # This setting is no longer used.
+ use_lvmetad = 0
# Configuration option global/lvmetad_update_wait_time.
- # Number of seconds a command will wait for lvmetad update to finish.
- # After waiting for this period, a command will not use lvmetad, and
- # will revert to disk scanning.
+ # This setting is no longer used.
# This configuration option has an automatic default value.
- # lvmetad_update_wait_time = 10
+ # lvmetad_update_wait_time = 0
# Configuration option global/use_lvmlockd.
# Use lvmlockd for locking among hosts using LVM on shared storage.
5 years, 6 months
master - config: Fix version for VDO
by Marian Csontos
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=48768cc5be64504863c...
Commit: 48768cc5be64504863c80d61f3d8f6ec4fbfe589
Parent: 6462e8dffc7ed53973ce796cec18fecc0fb89d77
Author: Marian Csontos <mcsontos(a)redhat.com>
AuthorDate: Thu Oct 11 10:53:28 2018 +0200
Committer: Marian Csontos <mcsontos(a)redhat.com>
CommitterDate: Thu Oct 11 11:06:23 2018 +0200
config: Fix version for VDO
---
lib/config/config_settings.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/config/config_settings.h b/lib/config/config_settings.h
index b47b225..636446f 100644
--- a/lib/config/config_settings.h
+++ b/lib/config/config_settings.h
@@ -609,7 +609,7 @@ cfg_runtime(allocation_thin_pool_chunk_size_CFG, "thin_pool_chunk_size", allocat
cfg(allocation_physical_extent_size_CFG, "physical_extent_size", allocation_CFG_SECTION, CFG_DEFAULT_COMMENTED, CFG_TYPE_INT, DEFAULT_EXTENT_SIZE, vsn(2, 2, 112), NULL, 0, NULL,
"Default physical extent size in KiB to use for new VGs.\n")
-#define VDO_1ST_VSN vsn(3, 0, 0)
+#define VDO_1ST_VSN vsn(2, 3, 0)
cfg(allocation_vdo_use_compression_CFG, "vdo_use_compression", allocation_CFG_SECTION, CFG_PROFILABLE | CFG_PROFILABLE_METADATA | CFG_DEFAULT_COMMENTED, CFG_TYPE_INT, DEFAULT_VDO_USE_COMPRESSION, VDO_1ST_VSN, NULL, 0, NULL,
"Enables or disables compression when creating a VDO volume.\n"
"Compression may be disabled if necessary to maximize performance\n"
5 years, 6 months
v2_03_00 annotated tag has been created
by Marian Csontos
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=03996bb0970d94d9ed5...
Commit: 03996bb0970d94d9ed5b8a0a9a0041ee87305c73
Parent: 0000000000000000000000000000000000000000
Author: Marian Csontos <mcsontos(a)redhat.com>
AuthorDate: 2018-10-10 09:27 +0000
Committer: Marian Csontos <mcsontos(a)redhat.com>
CommitterDate: 2018-10-10 09:27 +0000
annotated tag: v2_03_00 has been created
at 03996bb0970d94d9ed5b8a0a9a0041ee87305c73 (tag)
tagging f8462cff9224594385c3b9f89785c28995151824 (commit)
replaces v2_02_178-rc1
Release 2.03.00
This is the first release from the 2.03 branch.
Major changes:
* Deduplication and compression - support for VDO volumes.
* Dropped clvmd with lvmlockd as a replacement.
* Dropped liblvm2app with D-Bus API or libblockdev as possible replacement.
* Dropped lvmetad without replacement.
Plus many changes inside.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iQIcBAABAgAGBQJbvcYQAAoJELkRJDHlCQOf2PAP/R/FAbUk0HT+4UIv2I1YneeT
5Eqg/hKU1iOCR/TvDqQD25OzjANKxnvZCGocStuN8Gc96YR/wHIqUZSDcSJDdqPW
DqLwjrKPQNiqUvNDACChl03f04aWt+9PycTCANsq1PrcNhz3McUg9A64BvshjUEC
txCyY1VSsdZTZ/ZqKqa6CPOY6lDyFoJ5bNVV4ZTngSnTA6onNUX42DpP1odhoTx0
a1Q9keF5NfgdjFXoDatXC+rll7aotuxOLhvC4T0VbOa23ppZ8RNFcpmatG41+id8
cS+AO1ebz/0HBAb3pQUh/NIhMZ0ocJhlMLM54BZo4pw8mv0r8TM7Gj5ikipsAw+2
TQvc3kv+fZh18SRcQ8CIaev5gOooR2T/ATSrYHiss4L0cnl2zY//IGZY2dKmxEd0
SRwDY36dM8nwsYyJSqzrC3KhjuqlFlgUbozqHcKP4MGxYvC5qPxyjlVa2Wn9grQx
Q37zS+dRUBsj+jO/h4wqDT3ESGV8c9//EkNBrre77ojX7nj5ZggTuTSJWenOAcrh
rChf+yrmo0UIFm13cdtOaOz/8bPMaPFCxSsWywWCHRzU/HIyB9qd9Tv8L7lO0ZGk
HhFF2nttgciet3RdU5kAE/zDJUIymHyVHqQB8r4jLLx/x1sWFWsr6Xu0xLIgSWM6
ZwxDrjjcR8luZf2WSYnB
=Zb78
-----END PGP SIGNATURE-----
Alasdair G Kergon (1):
format_text: Use versionsort to sort archive files
Bryn M. Reeves (1):
dmsetup: fix error propagation in _display_info_cols()
David Teigland (134):
scan: refresh paths and retry open
scan: removed failed paths for devices
tests: fix skipping logic for lvmpolld and lvmlockd
tests: some missed skip with lvmlockd
lvmlockd: accept repeated global lock requests
tests: separate lvmlockd tests with or without lvmetad
lvmlockd: do not use an LV lock for some lvchange options
config: revert to normal locking when no cluster
lvmlockd: enable mirror split and merge with dlm lock_type
lvmlockd: enable lvcreate of thin pool and thin lv in one command
lvmlockd: enable creation of cache pool with lvcreate
tests: enable lvmlockd for passing tests
tests: vgcreate-usage update for lvmlockd
tests: vgchange-usage update for lvmlockd
lvmlockd: fix vgimportclone of a shared VG
pvremove: skip lvmlockd locks for forced clearing
tests: process-each-duplicate-pvs update for lvmlockd
tests: add missing file
lvmlockd: enable repairing shared VG while reading it
tests: enable vg repair tests with lvmlockd
tests: enable pvmove-restart with lvmlockd
lvmlockd: enable lvcreate of new LV plus existing cache pool
tests: enable lvcreate cache tests with lvmlockd
tests: change lvcreate syntax to allow lvmlockd
vgs: add report field for shared
lvmlockd: enable lvcreate -H -L LV
tests: enable lvmlockd with tests using lvcreate -H -L LV
tests: enable metadata-balance with lvmlockd
lvmlockd: fix reverting new lv in error path
tests: enable lvcreate-pvtags with lvmlockd
lvmlockd: improve error message for existing lockspace
tests: enable more working tests with lvmlockd
tests: enable non-working tests with lvmlockd
man lvmlockd: update list of limitations
lvmlockd: primarily use vg_is_shared
lvmlockd: clarify lock_type use for coverity
devs: clear coverity warning about null info
scan: clean exit for alloc failure
Remove clvmd and associated code
devices: clean up io error messages
lvmlockd: fix missing lock_type null check
Remove more clvm code
Remove unused clvm variations for active LVs
Remove VG lock ordering check
use exclusive file lock on VG for activation
Remove locking infrastructure from activation paths
tests: remove -cn option from some commands
tests: system_id remove clustered vg test
Implement lock-override options without locking type
devices: clean up io error messages
lvmlockd: fix missing lock_type null check
Remove more clvm code
Remove unused clvm variations for active LVs
Remove VG lock ordering check
use exclusive file lock on VG for activation
Remove locking infrastructure from activation paths
tests: remove -cn option from some commands
tests: system_id remove clustered vg test
Implement lock-override options without locking type
man lvmlockd: remove unnecessary reference to lvmetad
Rework lock-override options and locking_type settings
Remove more code that was only used by liblvm2app
tests: don't look for liblvm
Remove header declarations for removed functions
Remove python bindings for liblvm2app
tests: remove use of vgcreate -c option
Removing locking layer from sync_local_dev_names
Remove unused cache management from locking
Remove unused cluster-related locking flags
tests: remove vgsplit-usage cluster test
Remove locking for non-vgs
Remove lvmcache CACHE_LOCKED flag
lvmlockd: skip repair lock upgrade for non shared vgs
Remove checking for locked VGs
Fix use of orphan lock in commands
Clean up repair and result values in vg_read
Remove the unused lock_hash in lvmcache
tests: lvconvert-repair remove cluster test
tests: lvmetad-pvscan-cache expect command to fail
Remove code for loading other metadata formats
Remove independent metadata areas
filters: remove cache file in persistent filter
Remove vgconvert
tests: remove metadata-dirs
tests: remove vgconvert usage
Remove systemd script for starting shared VG
Remove makefile entries for removed script
lvmlockd: update method for changing clustered VG
man: updates to lvmlockd
man: update lvmsystemid wording
Add cmd arg to more functions
scan: use full md filter when md 1.0 devices are present
config: add deprecated version for recently removed settings
Remove unused device error counting
report: show empty lock_type for none
Drop --ignoreskippedcluster option
Print advice about changing clustered VGs to shared
bcache: remove extraneous error message
scan: work around udev problems by avoiding open RDWR
lvmlockd: fix another missing lock_type null check
Remove code for using files as devices
filter: use pointers to real addresses
man: fix lvreduce example
Revert "man: fix lvreduce example"
pvscan: autoactivate without lvmetad
tests: autoactivation tests for use without lvmetad
tests: fix mkdir pvs_online
Remove lvmetad
tests: remove lvmetad tests
lvconvert: restrict command matching for no option variant
lvconvert: improve text about splitmirrors
vgcreate: close exclusive fd after pvcreate
mirrors: fix read_only_volume_list
config: improve use_blkid_wiping
bcache: reduce MAX_IO to 256
filter: add config setting to skip scanning LVs
tests: add scan-lvs
tests: drop lvmetad bits
tests: drop lvmetad parts of system_id test
tests: remove lvmetad variation
metadata: improve write and commit code
tests: add metadata-full
fix readonly activation override options
remove unneded check to skip filter init
lvmlockd: improve systemd service file
Remove init scripts related to clvm and lvmetad
add lvmlocks service to start and stop lockspaces
More cleanup needed for dropped scripts
radix-tree: default to simple version
metadata: remove an unused and incorrect overflow check
metadata: add comment about negative impact of rounding
metadata: remove incorrect comment about alignment
metadata: add direct size limit
metadata: clarify comments about max size
Heinz Mauelshagen (18):
segtype: add linear
lvconvert: support linear <-> striped convenience conversions
test: add convcenience conversion tests linear <-> striped
WHATS_NEW
lvconvert: reject conversions of LVs under snapshot
test: new lvcreate-raid1-error-read.sh
lvconvert: reject conversions on raid1 split trackchanges SubLVs
lvconvert: reject conversions on raid1 split trackchanges LVs
lvconvert: fix regression preventing direct striped conversion
lvconvert: fix conversion attempts to linear
test: add striped -> raid0 test script
test: comment fixes
lvconvert: avoid superfluous interim raid type
lvconvert: fix interim segtype regression on raid6 conversions
lvconvert: allow raid4 -> linear conversion request
tests: adjust target version to enable reshape tests
tests: bump dm-raid version to 1.14.0
tests: fix lvconvert-raid-reshape-linear_to_striped-single-type.sh
Joe Thornber (64):
Revert "Revert "build: Calculate dependencies at same time as compiling.""
build: Don't generate symlinks in include/ dir
device-mapper: Fork libdm internally.
Merge branch 'master' into 2018-05-11-fork-libdm
radix_tree: add remove method
radix_tree_t: knock out some debug
data-struct/radix-tree: pass the value dtr into create.
Merge branch '2018-05-29-radix-tree-iterate' into 2018-05-23-radix-tree-remove
radix-tree: call the value dtr when removing an entry.
radix-tree: radix_tree_remove_prefix()
radix-tree: radix_tree_iterate()
radix-tree: fix some bugs in remove_prefix and iterate
bcache: switch to storing blocks in a radix tree.
radix-tree: fix some bugs in remove_prefix and iterate
Merge branch 'master' into 2018-05-30-bcache-radix-tree
Merge branch '2018-05-30-bcache-radix-tree'
Merge branch 'master' into 2018-05-11-fork-libdm
build: make sure selinux, udev and blkid libraries are linked.
build: Link with -lrt
build: get clvmd building again
Merge branch 'master' of git+ssh://sourceware.org/git/lvm2
build: link lvm2_activation_generator_systemd_red_hat with libdevice-mapper.a
build: Get python dir building without the include/ dir
Merge branch 'master' of git+ssh://sourceware.org/git/lvm2
build: More tweaks to python include dirs.
build: get separate builddir working again
build: libbase.a
build: base/Makefile
device_mapper: fixup a couple of includes
scripts/lvm2_activation_generator_systemd_red_hat: rewrite to use lvmconfig
Merge branch 'master' of git+ssh://sourceware.org/git/lvm2
test/unit: activation generator unit tests
liblvm: remove lvmapi
Update WHATS_NEW
Merge branch '2018-06-05-remove-applib'
test/unit: Rename Makefile.in -> Makefile
base: Move list to base/data-struct
device_mapper: rename libdevmapper.h -> all.h
libdm: Stop libdm/misc/dmlib.h from including lib/misc/lib.h
device_mapper: remove dbg_malloc.
device_mapper: remove c++ guards from the header
device_mapper: move hash.[hc] to base/data-struct
various: some missing #include zalloc.h
Merge branch '2018-06-04-data-structs'
dmsetup: move to libdm/dm-tools/dmsetup
dmfilemapd: Move to libdm/dm-tools
device_mapper: remove libdm-stats.c
radix-tree: FIx various bugs to do with removal
radix_tree: add new test case
radix-tree: More debugging of remove
radix-tree: fix bug when erasing elts in remove_prefix
Merge branch 'master' of git+ssh://sourceware.org/git/lvm2
radix-tree: squash a pointer arithmetic warning
radix-tree: Fix bug in remove_prefix()
[radix-tree] alternative radix-tree implementation.
[bcache] Remove unused 'hash' field from blocks.
Merge branch 'master' of git://sourceware.org/git/lvm2
[radix-tree] Add some extra checks to is_well_formed()
[radix-tree] Fix bug in _dump
[radix-tree] Fix bug in _degrade_to_n16
[radix-tree] tidy up _degrade_to_n48
[unit-test/radix-tree] Add a huge test case
[build] switch back to the adaptive radix tree
Merge branch '2018-09-13-radix-tree-bug'
Marian Csontos (20):
post-release
Merge remote-tracking branch 'origin/master'
bcache: Fix null pointer dereferencing
spec: Remove lvmetad
spec: Remove python bindings
spec: Remove unsupported config options
build: Remove lvmetad leftovers
spec: Add vdo files
build: Update configure
spec: Fix conditional
test: Remove excessive comma resulting in empty flavour
test: Check flavour is used and exists
Add BSD 2-Clause License
spec: Remove lvmconf refernces
build: Update configure
libdm: fix buffer overflow
spec: No %ghost for dirs at tmpfiles.d
build: make generate
build: gcc can be fussy about order of libs
pre-release
Peter Rajnoha (4):
scripts: add After=rbdmap.service to {lvm2-activation-net,blk-availability}.service
scripts: lvm2-activation-generator: add prefix for all kmsg messages
scripts: lvm2-activation-generator: also log possible execv error
configure: fix LVMCONFIG_PATH assignment
Zdenek Kabelac (110):
man: another missed typo for thin plugin
tests: improve usability on older systems
build: compile fixes
build: remove any leftover file
build: fixes
pvmove: improve lvs
pvresize: add missing return
pvresize: update message
cache: cleaner policy also uses fmt2
build: drop exported symbols
cleanup: updates message with dots
tests: check proper support of fmt2 with cleaner policy
tests: initial testing code for lvs while pvmove runs
tests: drop unit subdir
tests: updates test for raid scanning
tests: check pvresize with metadata size
build: update configure
build: make generate
build: link dmeventd plugins with internal libs
build: use internal libs for lvm2cmd
vgchange: start polling with option
snapshot: improve checking of merging snapshot
build: ensure configure.h comes first
build: ensure libdm is built before dm-tools
build: drop some lvm references from libdm making
build: drop libdm referring from lvm code
build: better srcdir builddir support
device_mapper: drop unneeded function
vgchange: fix error code in error path
vgchange: move active assing
vgchange: trace faling activation
pvscan: code reshape
pvscan: move start of polling into vgchange
vgchange: start polling with activation
systemd: add conficting sockets
debug: missing trace
tests: bigger lv
build: cmirrord with internal dm lib
tests: drop some clvmd refs
man-generator: drop macro redefines
man: stop installing clvmd man page
scripts: clvmd gone
tests: more tolerable makefile
rpm: drop no longer present clvmd, lvm2app
build: make generate
build: include configure.h
build: support --disable-silent-rules
tests: fix rules for mke2fs.conf install
utils: add clzll
lv_manip: add extra internal error
vcfgrestore: add prompt with active volumes
cache: set areas count prior using it
lv_manip: add new internal api function
cache: use new api function
lv_manip: use vgmem pool
tests: update with --yes
device_mapper: split _node_send_message
device_mapper: split code for sending message
device_mapper: add new _dm_task_create_device_status
build: avoid rebuild deps for top-level makefiles
build: drop some more old files
locking: memory locking ONLY with suspending reason
memlock: extend exception list
lv_manip: add name of failing LV into error message
lv_manip: do not check extents for any virtual target
device_mapper: deactive new nodes when load fails
device_mapper: relocate code for sending messages
vdo: enhance status parser
allocator: fix thin-pool allocation
dev_io: no discard in testmode
build: libdm preload dir is no longer needed
cleanup: use last_seg
tests: check how thin-pool allocation works
allocation: add check for passing log allocation
vdo: fix parsing vdo status
build: unit test Makefile update
device_mapper: convert vdo to use dm_ prefix
tests: update vdo unit test to dm prefix
build: not yet merged
dmeventd: base vdo plugin
activate: kvdo modprobe workaround
build: add vdo configuration option --with-vdo=
lib: new vdo segment configurable options
device_mapper: basic support for vdo dm target
build: install VDO small allocation profile
vdo: introduce segment types and manip functions
vdo: with created names use vpool
vdo: component activation of VDO data LV
vdo: support functions to map enums to string names
vdo_manip: parsing status of VDO device
check_lv_segment: internal vdo segment validation
lv_manip: layout and role support for vdo segment
dev_manager: add dev_manager_vdo_pool_status
display: basic vdo segment lvdisplay and lvs support
vdo: data percentage
toollib: support new command rules queries
args: new options for vdo segment
lvresize: vdo support
lvcreate: vdo support
lvchange: vdo support compression deduplication change
lvconvert: support to convert lv into vdopool
vgchange: vdo support
dmeventd: lvm vdo support
tests: initial vdo tests
cache: drop metadata_format validation
mirror: fix splitmirrors for mirror type
tests: splitmirror for mirror type
tests: check policy mq can be used with format2
dmeventd: lvm2 plugin uses envvar registry
tests: check activation of many thin-pool
5 years, 6 months