]>
sourceware.org Git - lvm2.git/log
Heinz Mauelshagen [Wed, 30 May 2018 10:49:15 +0000 (12:49 +0200)]
lvconvert: support linear <-> striped convenience conversions
"lvconvert --type {linear|striped|raid*} ..." on a striped/linear
LV provides convenience interim type to convert to the requested
final layout similar to the given raid* <-> raid* conveninece types.
Whilst on it, add missing raid5_n convenince type from raid5* to raid10.
Resolves: rhbz1439925
Resolves: rhbz1447809
Resolves: rhbz1573255
Heinz Mauelshagen [Wed, 30 May 2018 10:44:24 +0000 (12:44 +0200)]
segtype: add linear
Add linear segtype addressing FIXME in preparation
for linear <-> striped convenience conversion support
Joe Thornber [Mon, 4 Jun 2018 14:37:35 +0000 (15:37 +0100)]
build: base/Makefile
.gitignore hid it.
Joe Thornber [Mon, 4 Jun 2018 12:53:07 +0000 (13:53 +0100)]
build: libbase.a
Joe Thornber [Mon, 4 Jun 2018 12:22:14 +0000 (13:22 +0100)]
build: get separate builddir working again
Joe Thornber [Mon, 4 Jun 2018 11:28:17 +0000 (12:28 +0100)]
build: More tweaks to python include dirs.
Joe Thornber [Mon, 4 Jun 2018 10:59:49 +0000 (11:59 +0100)]
Merge branch 'master' of git+ssh://sourceware.org/git/lvm2
Joe Thornber [Mon, 4 Jun 2018 10:59:13 +0000 (11:59 +0100)]
build: Get python dir building without the include/ dir
Zdenek Kabelac [Mon, 4 Jun 2018 10:25:48 +0000 (12:25 +0200)]
build: fixes
Zdenek Kabelac [Mon, 4 Jun 2018 10:16:30 +0000 (12:16 +0200)]
build: remove any leftover file
In case repository is used after building older version of lvm2
(i.e. git bisect) make sure clean erases any possible old symlinks.
Joe Thornber [Mon, 4 Jun 2018 09:00:44 +0000 (10:00 +0100)]
build: link lvm2_activation_generator_systemd_red_hat with libdevice-mapper.a
Zdenek Kabelac [Fri, 1 Jun 2018 18:24:45 +0000 (20:24 +0200)]
build: compile fixes
Joe Thornber [Fri, 1 Jun 2018 18:19:11 +0000 (19:19 +0100)]
Merge branch 'master' of git+ssh://sourceware.org/git/lvm2
Joe Thornber [Fri, 1 Jun 2018 18:18:36 +0000 (19:18 +0100)]
build: get clvmd building again
David Teigland [Fri, 1 Jun 2018 15:40:28 +0000 (10:40 -0500)]
scan: clean exit for alloc failure
David Teigland [Fri, 1 Jun 2018 15:15:48 +0000 (10:15 -0500)]
devs: clear coverity warning about null info
a theoretical possibility.
David Teigland [Fri, 1 Jun 2018 15:12:04 +0000 (10:12 -0500)]
lvmlockd: clarify lock_type use for coverity
Make it clearer when vg->lock_type will be used so
coverity doesn't worry about it.
David Teigland [Fri, 1 Jun 2018 15:04:54 +0000 (10:04 -0500)]
lvmlockd: primarily use vg_is_shared
to check if a vg uses an lvmlockd lock_type,
instead of the equivalent but longer is_lockd_type.
Joe Thornber [Fri, 1 Jun 2018 16:20:48 +0000 (17:20 +0100)]
build: Link with -lrt
Needed for older version of glibc
Joe Thornber [Fri, 1 Jun 2018 15:53:20 +0000 (16:53 +0100)]
build: make sure selinux, udev and blkid libraries are linked.
Fixes breakage from the recent libdm split. Though these didn't
ever appear to be linked (could they have piggy backed from libdevmapper.so
being linked to them?).
Joe Thornber [Fri, 1 Jun 2018 12:04:12 +0000 (13:04 +0100)]
Merge branch 'master' into 2018-05-11-fork-libdm
Joe Thornber [Fri, 1 Jun 2018 11:45:33 +0000 (12:45 +0100)]
Merge branch '2018-05-30-bcache-radix-tree'
David Teigland [Thu, 31 May 2018 21:38:39 +0000 (16:38 -0500)]
man lvmlockd: update list of limitations
David Teigland [Thu, 31 May 2018 21:18:53 +0000 (16:18 -0500)]
tests: enable non-working tests with lvmlockd
Those that are failing for reasons other than lvmlockd
restrictions.
David Teigland [Thu, 31 May 2018 20:55:18 +0000 (15:55 -0500)]
tests: enable more working tests with lvmlockd
David Teigland [Thu, 31 May 2018 20:52:23 +0000 (15:52 -0500)]
lvmlockd: improve error message for existing lockspace
When a VG/lockspace already exists with the same name
don't just print the error number.
David Teigland [Thu, 31 May 2018 20:37:25 +0000 (15:37 -0500)]
tests: enable lvcreate-pvtags with lvmlockd
David Teigland [Thu, 31 May 2018 20:35:48 +0000 (15:35 -0500)]
lvmlockd: fix reverting new lv in error path
The wrong name was being used to free the LV lock
in lvmlockd in the error exit path.
David Teigland [Thu, 31 May 2018 20:12:34 +0000 (15:12 -0500)]
tests: enable metadata-balance with lvmlockd
David Teigland [Thu, 31 May 2018 19:49:16 +0000 (14:49 -0500)]
tests: enable lvmlockd with tests using lvcreate -H -L LV
David Teigland [Thu, 31 May 2018 19:20:11 +0000 (14:20 -0500)]
lvmlockd: enable lvcreate -H -L LV
Allow this command in a shared VG which had previously been
disallowed.
Joe Thornber [Thu, 31 May 2018 15:36:04 +0000 (16:36 +0100)]
Merge branch 'master' into 2018-05-30-bcache-radix-tree
David Teigland [Thu, 31 May 2018 15:23:03 +0000 (10:23 -0500)]
vgs: add report field for shared
equivalent to a non-empty -o locktype.
David Teigland [Wed, 30 May 2018 21:40:03 +0000 (16:40 -0500)]
tests: change lvcreate syntax to allow lvmlockd
Using the less ambiguous lvcreate syntax for creating a
cache LV allows more tests to run with lvmlockd.
David Teigland [Wed, 30 May 2018 20:56:08 +0000 (15:56 -0500)]
tests: enable lvcreate cache tests with lvmlockd
Tests that want to use lvcreate to create a new
origin LV and then combine it with an existing
cache pool to create a cache LV.
David Teigland [Wed, 30 May 2018 20:24:24 +0000 (15:24 -0500)]
lvmlockd: enable lvcreate of new LV plus existing cache pool
In this command, lvcreate creates a new LV and then combines
it with an existing cache pool, producing a cache LV. This
command was previously not allowed in in a shared VG.
David Teigland [Wed, 30 May 2018 18:56:06 +0000 (13:56 -0500)]
tests: enable pvmove-restart with lvmlockd
David Teigland [Wed, 30 May 2018 17:55:49 +0000 (12:55 -0500)]
tests: enable vg repair tests with lvmlockd
David Teigland [Wed, 30 May 2018 17:48:18 +0000 (12:48 -0500)]
lvmlockd: enable repairing shared VG while reading it
When the lvmlockd lock is shared, upgrade it to ex
when repair (writing) is needed during vg_read.
Pass the lockd state through additional read-related
functions so the instances of repair scattered through
vg_read can be handled.
(Temporary solution until the ad hoc repairs can be
pulled out of vg_read into a top level, centralized
repair function.)
David Teigland [Fri, 25 May 2018 22:02:25 +0000 (17:02 -0500)]
tests: add missing file
David Teigland [Fri, 25 May 2018 20:59:17 +0000 (15:59 -0500)]
tests: process-each-duplicate-pvs update for lvmlockd
David Teigland [Fri, 25 May 2018 20:57:17 +0000 (15:57 -0500)]
pvremove: skip lvmlockd locks for forced clearing
pvremove -ff to force clear a PV shouldn't care if
lvmlockd locks fail.
David Teigland [Fri, 25 May 2018 20:26:30 +0000 (15:26 -0500)]
lvmlockd: fix vgimportclone of a shared VG
The new VG from the duplicate PV is imported
as a local VG.
David Teigland [Fri, 25 May 2018 19:34:38 +0000 (14:34 -0500)]
tests: vgchange-usage update for lvmlockd
David Teigland [Fri, 25 May 2018 19:28:53 +0000 (14:28 -0500)]
tests: vgcreate-usage update for lvmlockd
David Teigland [Thu, 24 May 2018 14:49:48 +0000 (09:49 -0500)]
tests: enable lvmlockd for passing tests
David Teigland [Fri, 25 May 2018 18:26:16 +0000 (13:26 -0500)]
lvmlockd: enable creation of cache pool with lvcreate
Previously, cache pools needed to be created with lvconvert.
David Teigland [Fri, 25 May 2018 17:53:53 +0000 (12:53 -0500)]
lvmlockd: enable lvcreate of thin pool and thin lv in one command
Previously, thin pools and thin lvs need needed to be
created with separate commands, now the combined command
is permitted.
David Teigland [Thu, 24 May 2018 20:02:35 +0000 (15:02 -0500)]
lvmlockd: enable mirror split and merge with dlm lock_type
David Teigland [Wed, 23 May 2018 15:15:39 +0000 (10:15 -0500)]
config: revert to normal locking when no cluster
and suggest lvmlockd
David Teigland [Thu, 24 May 2018 16:41:14 +0000 (11:41 -0500)]
lvmlockd: do not use an LV lock for some lvchange options
Some lvchange options can be used even if the LV is active.
David Teigland [Wed, 23 May 2018 18:56:49 +0000 (13:56 -0500)]
tests: separate lvmlockd tests with or without lvmetad
David Teigland [Wed, 23 May 2018 18:16:48 +0000 (13:16 -0500)]
lvmlockd: accept repeated global lock requests
It's not an error if a command requests the global lock
when it has already acquired it. It shouldn't happen,
but there could be cases we've not found.
David Teigland [Wed, 23 May 2018 18:04:47 +0000 (13:04 -0500)]
tests: some missed skip with lvmlockd
David Teigland [Wed, 23 May 2018 17:56:33 +0000 (12:56 -0500)]
tests: fix skipping logic for lvmpolld and lvmlockd
David Teigland [Tue, 29 May 2018 22:02:27 +0000 (17:02 -0500)]
scan: removed failed paths for devices
Drop a device path when the scan fails to open it.
Joe Thornber [Wed, 30 May 2018 13:14:59 +0000 (14:14 +0100)]
radix-tree: fix some bugs in remove_prefix and iterate
These weren't working if the prefix key was part of a prefix_chain.
Joe Thornber [Wed, 30 May 2018 13:17:26 +0000 (14:17 +0100)]
bcache: switch to storing blocks in a radix tree.
Rather than a hash table. This will make invalidate_fd() more
efficient since we can iterate just those blocks that are on
a particular dev.
Joe Thornber [Wed, 30 May 2018 13:14:59 +0000 (14:14 +0100)]
radix-tree: fix some bugs in remove_prefix and iterate
These weren't working if the prefix key was part of a prefix_chain.
Joe Thornber [Tue, 29 May 2018 16:58:58 +0000 (17:58 +0100)]
radix-tree: radix_tree_iterate()
Joe Thornber [Tue, 29 May 2018 12:25:59 +0000 (13:25 +0100)]
radix-tree: radix_tree_remove_prefix()
Joe Thornber [Tue, 29 May 2018 10:23:36 +0000 (11:23 +0100)]
radix-tree: call the value dtr when removing an entry.
Joe Thornber [Tue, 29 May 2018 10:04:32 +0000 (11:04 +0100)]
Merge branch '2018-05-29-radix-tree-iterate' into 2018-05-23-radix-tree-remove
Joe Thornber [Tue, 29 May 2018 10:03:10 +0000 (11:03 +0100)]
data-struct/radix-tree: pass the value dtr into create.
Rather than having to pass it into every method that removes items.
David Teigland [Fri, 25 May 2018 16:14:12 +0000 (11:14 -0500)]
scan: refresh paths and retry open
If scanning fails to open any devices, refresh the
device paths in dev cache, and retry the opens.
Alasdair G Kergon [Fri, 9 Feb 2018 01:08:55 +0000 (01:08 +0000)]
format_text: Use versionsort to sort archive files
Ensure that vg_100000-* follows vg_99999-* so that the expiry logic
doesn't stop too early.
https://bugzilla.redhat.com/
1481085
Marian Csontos [Thu, 24 May 2018 15:32:42 +0000 (17:32 +0200)]
Merge remote-tracking branch 'origin/master'
Zdenek Kabelac [Thu, 24 May 2018 13:20:22 +0000 (15:20 +0200)]
tests: improve usability on older systems
Zdenek Kabelac [Thu, 24 May 2018 13:01:52 +0000 (15:01 +0200)]
man: another missed typo for thin plugin
Marian Csontos [Thu, 24 May 2018 13:23:08 +0000 (15:23 +0200)]
post-release
Marian Csontos [Thu, 24 May 2018 13:13:10 +0000 (15:13 +0200)]
pre-release
Joe Thornber [Thu, 24 May 2018 11:32:16 +0000 (12:32 +0100)]
release note: typos
Joe Thornber [Thu, 24 May 2018 11:26:34 +0000 (12:26 +0100)]
release note: typo
Joe Thornber [Thu, 24 May 2018 11:18:03 +0000 (12:18 +0100)]
release note: 2.02.178
Zdenek Kabelac [Thu, 24 May 2018 09:21:49 +0000 (11:21 +0200)]
tests: checking scanning correctness
Zdenek Kabelac [Thu, 24 May 2018 09:12:17 +0000 (11:12 +0200)]
tests: passthrough args with extend_filter_LVMTEST
Don't rebuild config twice.
Zdenek Kabelac [Thu, 24 May 2018 09:04:38 +0000 (11:04 +0200)]
tests: correcting symlink manipulation
Fix symlink and add 'verbose' pvs for a while for checking
scanning correctness.
Zdenek Kabelac [Thu, 24 May 2018 09:03:47 +0000 (11:03 +0200)]
tests: aux improve for mdadm support
Correcting some symlink handling.
Zdenek Kabelac [Wed, 23 May 2018 17:46:47 +0000 (19:46 +0200)]
man: make generate
Zdenek Kabelac [Wed, 23 May 2018 17:45:53 +0000 (19:45 +0200)]
man: fix cut and paste bug
Fixing missing 'META' in DMEVENTD_THIN_POOL_METADATA.
Zdenek Kabelac [Tue, 22 May 2018 11:45:21 +0000 (13:45 +0200)]
gitignore
Joe Thornber [Wed, 23 May 2018 11:54:02 +0000 (12:54 +0100)]
radix_tree_t: knock out some debug
Joe Thornber [Wed, 23 May 2018 11:48:06 +0000 (12:48 +0100)]
radix_tree: add remove method
Joe Thornber [Wed, 23 May 2018 08:14:29 +0000 (09:14 +0100)]
Merge branch 'master' of git+ssh://sourceware.org/git/lvm2
David Teigland [Tue, 22 May 2018 19:07:13 +0000 (14:07 -0500)]
filters: clarify some parts of md filter
Rename some functions to be consistent with the return values,
and add some comments about how it works.
Joe Thornber [Tue, 22 May 2018 08:46:59 +0000 (09:46 +0100)]
WHATS_NEW: typo
David Teigland [Mon, 21 May 2018 19:20:19 +0000 (14:20 -0500)]
scan: move warnings about duplicate devices
We have been warning about duplicate devices (and disabling lvmetad)
immediately when the dup was detected (during label_scan). Move the
warnings (and the disabling) to happen later, after label_scan is
finished.
This lets us avoid an unwanted warning message about duplicates
in the special case were md components are eliminated during the
duplicate device resolution.
David Teigland [Mon, 21 May 2018 21:26:49 +0000 (16:26 -0500)]
man vgexport: expand description
Zdenek Kabelac [Sat, 19 May 2018 10:08:23 +0000 (12:08 +0200)]
tests: disable symlink test
It's quite unclear what the test is meant to do - disable it just like
within python test.
Zdenek Kabelac [Mon, 21 May 2018 09:56:45 +0000 (11:56 +0200)]
tests: use 4K extent size
To work with for 4k backend devices.
David Teigland [Fri, 18 May 2018 21:00:54 +0000 (16:00 -0500)]
lvmlockd: suppress error messages related to lvmetad
Log lvmetad related messages as debug, not as errors,
when using lvmlockd without lvmetad.
David Teigland [Fri, 18 May 2018 19:26:32 +0000 (14:26 -0500)]
fullreport: fix with lvmetad and only orphan PVs are visible
The report uses process_each_vg() which populates lvmcache
based on a VG list from lvmetad. If there are no VGs,
but only orphan PVs, the orphans are not shown. Add an
explicit call to populate lvmcache with PV info from lvmetad.
David Teigland [Fri, 18 May 2018 18:41:20 +0000 (13:41 -0500)]
fix id_write_format on non-uuid string
orphan vgs using the vgname "#orphans" as the vgid,
and valgrind complains about calling id_write_format
on that invalid uuid.
Zdenek Kabelac [Fri, 18 May 2018 14:23:10 +0000 (16:23 +0200)]
python: use // for integer division
Zdenek Kabelac [Fri, 18 May 2018 14:16:40 +0000 (16:16 +0200)]
tests: pick either python2 or python3 .so
Use matching PYTHON library implementation.
Zdenek Kabelac [Fri, 18 May 2018 14:16:09 +0000 (16:16 +0200)]
tests; make sure python_lvm_unit.py is executable
Zdenek Kabelac [Thu, 17 May 2018 21:03:36 +0000 (23:03 +0200)]
python: use python3 paths directly
Do not use /usr/bin/env for path of python3 as this is seen
as 'unwanted' and should be avoided.
Zdenek Kabelac [Fri, 18 May 2018 14:15:25 +0000 (16:15 +0200)]
build: set clean vars earlier
For better cleaning of test dirs.
David Teigland [Thu, 17 May 2018 20:55:44 +0000 (15:55 -0500)]
liblvm2app: add a couple tests
trivial sanity-check programs using liblvm2app
David Teigland [Thu, 17 May 2018 20:18:11 +0000 (15:18 -0500)]
liblvm2app: fix valgrind memory warning
This page took 0.061458 seconds and 5 git commands to generate.