]> sourceware.org Git - lvm2.git/log
lvm2.git
12 years agothin: allow to create read-only thin-volumes
Zdenek Kabelac [Mon, 8 Oct 2012 09:23:52 +0000 (11:23 +0200)]
thin: allow to create read-only thin-volumes

Useful for i.e. read-only thin snapshots.

12 years agoscripts: blk-availability - use the same name for lock file
Peter Rajnoha [Mon, 15 Oct 2012 11:22:36 +0000 (13:22 +0200)]
scripts: blk-availability - use the same name for lock file

12 years agoRemove pvscan --cache from lvm2-lvmetad init script.
Peter Rajnoha [Mon, 15 Oct 2012 10:58:23 +0000 (12:58 +0200)]
Remove pvscan --cache from lvm2-lvmetad init script.

This is not needed anymore as the scan is called transparently
within the first LVM command that queries lvmetad.

12 years agolvmetad: Only print scanning messages when scanning 1 device.
Petr Rockai [Mon, 15 Oct 2012 10:44:19 +0000 (12:44 +0200)]
lvmetad: Only print scanning messages when scanning 1 device.

12 years agolvmetad: use -l for logging level not -d
Alasdair G Kergon [Mon, 15 Oct 2012 09:44:43 +0000 (10:44 +0100)]
lvmetad: use -l for logging level not -d

12 years agolvmetad: empty types string is ok
Zdenek Kabelac [Mon, 15 Oct 2012 09:02:15 +0000 (11:02 +0200)]
lvmetad: empty types string is ok

Since now return code is test - return OK for this case.

12 years agolvmetad: document and tidy cmdline args
Alasdair G Kergon [Mon, 15 Oct 2012 01:06:27 +0000 (02:06 +0100)]
lvmetad: document and tidy cmdline args

Try to bring the lvmetad usage text and man page closer to the code.
There seem to be 3 useful ways to use -d with lvmetad at the moment:
  -d all
  -d wire
  -d debug
(They can also be comma-separated like -d wire,debug.)
Prior to the last release, -d, -dd and -ddd were supported.
Fail if an unrecognised debug arg is supplied on the command line.
Change -V to report the same version as the lvm binary: previously it
just reported version 0.

12 years agolvmetad: fix previous commit
Zdenek Kabelac [Sun, 14 Oct 2012 22:44:31 +0000 (00:44 +0200)]
lvmetad: fix previous commit

Ooops patch conversion for gcc cleanup missed this line.

12 years agocleanup: readable test to check for 32bit overflow
Zdenek Kabelac [Thu, 19 Jan 2012 21:28:06 +0000 (22:28 +0100)]
cleanup: readable test to check for 32bit overflow

also swap return value 0 - fail, 1 - success.

12 years agothin: add support to unmount volumes
Zdenek Kabelac [Thu, 22 Mar 2012 17:29:38 +0000 (18:29 +0100)]
thin: add support to unmount volumes

Reset counter after thin pool resize failure.

If the pool goes above threshold, support unmounting
of all thin volumes if the lvextend fails to avoid
overfilling of the pool.

12 years agotest: speedup a bit
Zdenek Kabelac [Sun, 14 Oct 2012 17:45:59 +0000 (19:45 +0200)]
test: speedup a bit

Do not wait full 10s if the invalid snapshot is already dropped.

12 years agothin: lvextend will fail is autoextend is 0%
Zdenek Kabelac [Sun, 14 Oct 2012 17:43:25 +0000 (19:43 +0200)]
thin: lvextend will fail is autoextend is 0%

Since extending by 0% will not increase the size of pool,
return failure.

12 years agotest: coverage
Zdenek Kabelac [Sat, 13 Oct 2012 19:57:33 +0000 (21:57 +0200)]
test: coverage

Improve a bit code coverage.
Use lvm shell to reduce a bit CPU time.

12 years agolvmetad: fix leak of append on error path
Zdenek Kabelac [Sat, 13 Oct 2012 19:04:01 +0000 (21:04 +0200)]
lvmetad: fix leak of append on error path

12 years agocleanup: resolve dereferencing type-punned pointer
Zdenek Kabelac [Sat, 13 Oct 2012 18:51:07 +0000 (20:51 +0200)]
cleanup: resolve dereferencing type-punned pointer

fix gcc warning:
dereferencing type-punned pointer will break strict-aliasing rules
Replace call by value and pass just const pointer to pvid.

12 years agolvmetad: fix memory leaks in error paths
Zdenek Kabelac [Sat, 13 Oct 2012 17:19:50 +0000 (19:19 +0200)]
lvmetad: fix memory leaks in error paths

Destroy interator in error path.
Releasy any possible allocated buffer from buffer_append_f
and buffer_append_vf  in error path.

12 years agocleanup: used old C standard
Zdenek Kabelac [Sat, 13 Oct 2012 17:18:33 +0000 (19:18 +0200)]
cleanup: used old C standard

12 years agocleanup: drop unused assignment
Zdenek Kabelac [Sat, 13 Oct 2012 17:17:10 +0000 (19:17 +0200)]
cleanup: drop unused assignment

Since 'n' is later reassigned and unused between, drop it's first
assign.

12 years agolvmetad: move initialization in the inner loop
Zdenek Kabelac [Sat, 13 Oct 2012 17:15:15 +0000 (19:15 +0200)]
lvmetad: move initialization in the inner loop

Set append to NULL in the front of cycle, so the INTERNAL error path
is not leading to double-free of append pointer.

12 years agocleanup: add gcc printf __attribute__
Zdenek Kabelac [Sat, 13 Oct 2012 17:14:41 +0000 (19:14 +0200)]
cleanup: add gcc printf __attribute__

12 years agocleanup: remove unneeded headers
Zdenek Kabelac [Sat, 13 Oct 2012 17:13:25 +0000 (19:13 +0200)]
cleanup: remove unneeded headers

Header do not provide any needed symbols.

12 years agotest: update global_filter
Zdenek Kabelac [Fri, 12 Oct 2012 15:59:11 +0000 (17:59 +0200)]
test: update global_filter

use simplier filter for test suite

12 years agotest: typo fix from last commit
Zdenek Kabelac [Fri, 12 Oct 2012 15:35:44 +0000 (17:35 +0200)]
test: typo fix from last commit

12 years agotest: move global_filter only to mdata_string test
Zdenek Kabelac [Fri, 12 Oct 2012 15:27:29 +0000 (17:27 +0200)]
test: move global_filter only to mdata_string test

Tries to help with lvmetad test and pvdisplay and unknown device.

12 years agolvmetad: release_token without lvmetad
Zdenek Kabelac [Fri, 12 Oct 2012 15:16:28 +0000 (17:16 +0200)]
lvmetad: release_token without lvmetad

Missing wrapper when not building with lvmetad support

12 years agotest: use global_filter with initial content
Zdenek Kabelac [Fri, 12 Oct 2012 14:54:34 +0000 (16:54 +0200)]
test: use global_filter with initial content

12 years agodebug: do not play with fds with valgring
Zdenek Kabelac [Fri, 12 Oct 2012 14:52:38 +0000 (16:52 +0200)]
debug: do not play with fds with valgring

When valgrind usage is desired by user (--enable-valgrind-pool)
skip playing/closing/reopenning with descriptors - it makes
valgridng useless.

Make sleep delay for clvmd start longer.

12 years agolvmetead: release token
Zdenek Kabelac [Fri, 12 Oct 2012 14:50:38 +0000 (16:50 +0200)]
lvmetead: release token

Release allocated memory when destroing toolcontext

12 years agoblkdeactivate: fix long form of options
Peter Rajnoha [Fri, 12 Oct 2012 13:42:24 +0000 (15:42 +0200)]
blkdeactivate: fix long form of options

Actually, long form for -d and -l option is --dmoption and --lvmoption respectively.

12 years agoWHATS_NEW: update
Peter Rajnoha [Fri, 12 Oct 2012 12:47:40 +0000 (14:47 +0200)]
WHATS_NEW: update

12 years agoconfigure: autoreconf
Peter Rajnoha [Fri, 12 Oct 2012 12:45:26 +0000 (14:45 +0200)]
configure: autoreconf

12 years agoscripts: introduce blkdeactivate
Peter Rajnoha [Fri, 12 Oct 2012 12:37:57 +0000 (14:37 +0200)]
scripts: introduce blkdeactivate

blkdeactivate - utility to deactivate block devices

Traverses the tree of block devices and tries to deactivate them.
Currently, it supports device-mapper-based devices together with LVM.
See man/blkdeactivate.8 for more info.

It is targeted for use during shutdown to properly deactivate the
whole block device stack - systemd and init scripts are provided as
well. However, it might be used directly on command line too.

Please, see the commentary at the top of the blkdeactivate script
for dependencies and versions of other utilities required.

12 years agosystemd: add deps to order units more properly
Peter Rajnoha [Fri, 12 Oct 2012 12:21:25 +0000 (14:21 +0200)]
systemd: add deps to order units more properly

lvm2-activation-early.service (generated by activation generator) should
be ordered before cryptsetup.target.

lvm2-monitor.service should be ordered after lvm2-activation.service,
if used. The lvm2-activation.service will replace fedora-storage-init.service
and fedora-storage-init-late.service in the end, but let's have it
prepared now.

12 years agoUpdate WHATS_NEW.
Petr Rockai [Fri, 12 Oct 2012 11:24:06 +0000 (13:24 +0200)]
Update WHATS_NEW.

12 years agothin: prohibit lvcreate --thinpool with mirrors
Zdenek Kabelac [Fri, 12 Oct 2012 10:18:06 +0000 (12:18 +0200)]
thin: prohibit lvcreate --thinpool with mirrors

Disable --thinpool to be used with mirror on lvcreate.

12 years agothin: lvm2api return origin property for thin LV
Zdenek Kabelac [Fri, 12 Oct 2012 10:02:15 +0000 (12:02 +0200)]
thin: lvm2api return origin property for thin LV

12 years agolibdm: remove dm dev without error even with malformed UUID
Peter Rajnoha [Fri, 12 Oct 2012 09:53:04 +0000 (11:53 +0200)]
libdm: remove dm dev without error even with malformed UUID

On each ioctl return, the device UUID is decoded from \xNN format.
If the UUID of the device being *removed* is malformed (e.g. it
hasn't been corrected before), just remove it without any error
as the UUID is not needed anymore - the device is gone anyway.

Otherwise a misleading error message would be issued just after
the removal:
  # dmsetup remove test
  The UUID "a b" should be mangled but it contains blacklisted characters.
  Command failed

12 years agolvmetad: fix test for dm_asprintf
Zdenek Kabelac [Fri, 12 Oct 2012 09:34:15 +0000 (11:34 +0200)]
lvmetad: fix test for dm_asprintf

12 years agolvmetad: Fix the fix for 813766 (lvmetad connection warning).
Petr Rockai [Fri, 12 Oct 2012 09:16:38 +0000 (11:16 +0200)]
lvmetad: Fix the fix for 813766 (lvmetad connection warning).

12 years agolvmetad: validate dm_asprintf in buffer_append_vf
Zdenek Kabelac [Fri, 12 Oct 2012 08:57:01 +0000 (10:57 +0200)]
lvmetad: validate dm_asprintf in buffer_append_vf

Check result of dm_asprintf
Check buffer_append result
Declare vars in front

12 years agolvmetad: check result of buffer_realloc
Zdenek Kabelac [Fri, 12 Oct 2012 08:50:07 +0000 (10:50 +0200)]
lvmetad: check result of buffer_realloc

12 years agolvmetad: initialize cft value
Zdenek Kabelac [Fri, 12 Oct 2012 08:35:01 +0000 (10:35 +0200)]
lvmetad: initialize cft value

the error should not test garbage value.

12 years agolvmetad: Make --sysinit suppress connection failure warnings.
Petr Rockai [Fri, 12 Oct 2012 00:48:39 +0000 (02:48 +0200)]
lvmetad: Make --sysinit suppress connection failure warnings.

12 years agocleanup: fix compiler warnings
Zdenek Kabelac [Fri, 12 Oct 2012 08:15:30 +0000 (10:15 +0200)]
cleanup: fix compiler warnings

remove unused vars
move var declarations into the front of functions.
fix some sign warnings

12 years agopython: Add bindings for liblvm2app.
Alasdair G Kergon [Fri, 12 Oct 2012 01:08:47 +0000 (02:08 +0100)]
python: Add bindings for liblvm2app.

Use configure --enable-python_bindings to generate them.

Note that the Makefiles do not yet control the owner or permissions of
the two new files on installation.

12 years agolvmdump: Add -l, to collect a state dump from lvmetad.
Petr Rockai [Thu, 11 Oct 2012 20:42:20 +0000 (22:42 +0200)]
lvmdump: Add -l, to collect a state dump from lvmetad.

12 years agolvmdump: Fix systems with tr on PATH outside of /usr/bin.
Petr Rockai [Thu, 11 Oct 2012 20:39:40 +0000 (22:39 +0200)]
lvmdump: Fix systems with tr on PATH outside of /usr/bin.

12 years agotest: Add lvmetad-dump.sh.
Petr Rockai [Thu, 11 Oct 2012 18:32:25 +0000 (20:32 +0200)]
test: Add lvmetad-dump.sh.

12 years agolvmetad: Implement a "dump" request to capture lvmetad state.
Petr Rockai [Thu, 11 Oct 2012 18:31:29 +0000 (20:31 +0200)]
lvmetad: Implement a "dump" request to capture lvmetad state.

12 years agotest: Skip lvconvert-raid on kernels < 3.2 since they BUG out.
Petr Rockai [Thu, 11 Oct 2012 13:38:19 +0000 (15:38 +0200)]
test: Skip lvconvert-raid on kernels < 3.2 since they BUG out.

12 years agolibdaemon: Make buffer handling asymptotically more efficient.
Petr Rockai [Thu, 11 Oct 2012 12:17:17 +0000 (14:17 +0200)]
libdaemon: Make buffer handling asymptotically more efficient.

12 years agolvm2api: add defined lvm_percent_to_float
Zdenek Kabelac [Thu, 11 Oct 2012 15:25:14 +0000 (17:25 +0200)]
lvm2api: add defined lvm_percent_to_float

Implement function which was somehow missing from it's original
placement in the header file lvm2api.h.

12 years agothin: raise required version to 1.4
Zdenek Kabelac [Thu, 11 Oct 2012 12:07:35 +0000 (14:07 +0200)]
thin: raise required version to 1.4

Stay safe and require 1.4 (kernel 3.6) for non-power-of-2
support for thin pool chunk_size.

12 years agotest: Skip the topology test if setting up scsi_debug fails.
Petr Rockai [Thu, 11 Oct 2012 09:51:04 +0000 (11:51 +0200)]
test: Skip the topology test if setting up scsi_debug fails.

12 years agopvscan --cache: Also read metadata from LVM1 PVs (BZ 863401).
Petr Rockai [Wed, 10 Oct 2012 19:49:40 +0000 (21:49 +0200)]
pvscan --cache: Also read metadata from LVM1 PVs (BZ 863401).

12 years agolvmetad: Fix help output (flags and their meaning).
Petr Rockai [Wed, 10 Oct 2012 12:38:25 +0000 (14:38 +0200)]
lvmetad: Fix help output (flags and their meaning).

12 years agotest: use exclusive activation for created mirrors
Zdenek Kabelac [Wed, 10 Oct 2012 16:38:55 +0000 (18:38 +0200)]
test: use exclusive activation for created mirrors

12 years agotest: thin support for non power of 2 chunk size
Zdenek Kabelac [Wed, 10 Oct 2012 14:37:55 +0000 (16:37 +0200)]
test: thin support for non power of 2 chunk size

12 years agotest: drop clustered flag control from thin tests
Zdenek Kabelac [Wed, 10 Oct 2012 17:00:46 +0000 (19:00 +0200)]
test: drop clustered flag control from thin tests

12 years agotest: move common code for thin init
Zdenek Kabelac [Wed, 10 Oct 2012 12:57:02 +0000 (14:57 +0200)]
test: move common code for thin init

12 years agocleanup: fix typos
Zdenek Kabelac [Tue, 9 Oct 2012 17:42:26 +0000 (19:42 +0200)]
cleanup: fix typos

12 years agothin: support non power of 2 chunk size
Zdenek Kabelac [Thu, 2 Feb 2012 13:37:51 +0000 (14:37 +0100)]
thin: support non power of 2 chunk size

Support thin chunk size with multiple of 64KiB if user has
thin-pool target version at least 1.2.

12 years agoTEST: Add lvchange-partial.sh and vgchange-partial.sh to the test suite
Jonathan Brassow [Wed, 10 Oct 2012 16:47:04 +0000 (11:47 -0500)]
TEST:  Add lvchange-partial.sh and vgchange-partial.sh to the test suite

Commit 3501f17fd0fcec2a1fbb8aeecf228e86ee022d99 enables a limited set
of metadata updates for partial LV/VGs when issuing lvchange or vgchange.
These tests verify those changes operate as intended.

12 years ago[lv|vg]change: Allow limited metadata changes when PVs are missing
Jonathan Brassow [Wed, 10 Oct 2012 16:33:10 +0000 (11:33 -0500)]
[lv|vg]change:  Allow limited metadata changes when PVs are missing

A while back, the behavior of LVM changed from allowing metadata changes
when PVs were missing to not allowing changes.  Until recently, this
change was tolerated by HA-LVM by forcing a 'vgreduce --removemissing'
before trying (again) to add tags to an LV and then activate it.  LVM
mirroring requires that failed devices are removed anyway, so this was
largely harmless.  However, RAID LVs do not require devices to be removed
from the array in order to be activated.  In fact, in an HA-LVM
environment this would be very undesirable.  Device failures in such an
environment can often be transient and it would be much better to restore
the device to the array than synchronize an entirely new device.

There are two methods that can be used to setup an HA-LVM environment:
"clvm" or "tagging".  For RAID LVs, "clvm" is out of the question because
RAID LVs are not supported in clustered VGs - not even in an exclusively
activated manner.  That leaves "tagging".  HA-LVM uses tagging - coupled
with 'volume_list' - to ensure that only one machine can have an LV active
at a time.  If updates are not allowed when a PV is missing, it is
impossible to add or remove tags to allow for activation.  This removes
one of the most basic functionalities of HA-LVM - site redundancy.  If
mirroring or RAID is used to replicate the storage in two data centers
and one of them goes down, a server and a storage device are lost.  When
the service fails-over to the alternate site, the VG will be "partial".
Unable to add a tag to the VG/LV, the RAID device will be unable to
activate.

The solution is to allow vgchange and lvchange to alter the LVM metadata
for a limited set of options - --[add|del]tag included.  The set of
allowable options are ones that do not cause changes to the DM kernel
target (like --resync would) or could alter the structure of the LV
(like allocation or conversion).

12 years agoWHATS_NEW: update
Peter Rajnoha [Wed, 10 Oct 2012 15:36:37 +0000 (17:36 +0200)]
WHATS_NEW: update

12 years ago man: dmsetup mangle also processes UUIDs now
Peter Rajnoha [Wed, 10 Oct 2012 15:04:56 +0000 (17:04 +0200)]
 man: dmsetup mangle also processes UUIDs now

12 years agodmsetup: also apply 'mangle' command for UUIDs
Peter Rajnoha [Wed, 10 Oct 2012 15:03:47 +0000 (17:03 +0200)]
dmsetup: also apply 'mangle' command for UUIDs

Compared to names, UUIDs can't be renamed once they are created
for a device. The 'mangle' command will just issue an error message
about a need for manual intervention in this case - reactivating the
device (remove + create) does the job as the defualt mangling mode
used is "auto" and that will assign a correct mangled form the UUID.

12 years agodmsetup: add mangled/unmangled_uuid to for info -c
Peter Rajnoha [Wed, 10 Oct 2012 15:02:59 +0000 (17:02 +0200)]
dmsetup: add mangled/unmangled_uuid to for info -c

Following the same logic already used for name mangling.

12 years agolibdm: introduce and use DEV_UUID macro
Peter Rajnoha [Wed, 10 Oct 2012 15:02:19 +0000 (17:02 +0200)]
libdm: introduce and use DEV_UUID macro

To automatically prefer mangled UUID over unmangled UUID. The same
logic that is already used for dm name mangling...

12 years agolibdm: unmangle dm UUIDs on dm ioctl return
Peter Rajnoha [Wed, 10 Oct 2012 15:01:42 +0000 (17:01 +0200)]
libdm: unmangle dm UUIDs on dm ioctl return

12 years agolibdm: add mangling support for dm_task_set_newuuid
Peter Rajnoha [Wed, 10 Oct 2012 15:01:13 +0000 (17:01 +0200)]
libdm: add mangling support for dm_task_set_newuuid

12 years agolibdm: add mangling support for dm_task_set_uuid
Peter Rajnoha [Wed, 10 Oct 2012 15:00:41 +0000 (17:00 +0200)]
libdm: add mangling support for dm_task_set_uuid

Also, add a new field to struct dm_task called "mangled_uuid" that
will store mangled form of uuid if it differs from original uuid.

12 years agolibdm: add dm_task_get_uuid_mangled/unmangled
Peter Rajnoha [Wed, 10 Oct 2012 14:59:47 +0000 (16:59 +0200)]
libdm: add dm_task_get_uuid_mangled/unmangled

Just like we already have existing mangling support for
device-mapper names, we need exactly the same for device-mapper
UUIDs as their character whitelist is wider than what udev supports.

In case udev is used to create entries in /dev based on UUIDs
and these UUIDs contain characters not supported by udev,
we'll end up with incorrect /dev content for such devices.
So we need to mangle them to a form that is supported by udev.

The mangling used for UUIDs follows the mangling used for names
(that is already supported and used throughout). That means,
setting the name mangling mode via dm_set_name_mangling_mode
affects mangling used for UUIDs in exactly the same manner.
It would be useless to add a new and separate
dm_set_uuid_mangling_mode fn, we'll reuse existing interface.

12 years agolibdm: refactor internal mangling functions
Peter Rajnoha [Wed, 10 Oct 2012 14:59:11 +0000 (16:59 +0200)]
libdm: refactor internal mangling functions

(un)mangle_name -> (un)mangle_string
check_multiple_mangled_name_allowed -> check_multiple_mangled_string_allowed

Just for clarity as the same functions will be reused to (un)mangle dm UUIDs.

12 years agotest: Check that lvmetad is refreshed correctly on restart.
Petr Rockai [Wed, 10 Oct 2012 10:34:44 +0000 (12:34 +0200)]
test: Check that lvmetad is refreshed correctly on restart.

12 years agolvmetad: Warn if lvmetad is running but disabled.
Petr Rockai [Wed, 10 Oct 2012 10:33:48 +0000 (12:33 +0200)]
lvmetad: Warn if lvmetad is running but disabled.

12 years agolvmetad: Fix the -f pidfile (non-)creation logic.
Petr Rockai [Wed, 10 Oct 2012 10:32:24 +0000 (12:32 +0200)]
lvmetad: Fix the -f pidfile (non-)creation logic.

12 years agotest: Skip thin tests if thin support is configured out.
Petr Rockai [Tue, 9 Oct 2012 22:20:22 +0000 (00:20 +0200)]
test: Skip thin tests if thin support is configured out.

12 years agoconfigure: Use pkg-config to look for valgrind/memcheck.h.
Petr Rockai [Tue, 9 Oct 2012 18:54:41 +0000 (20:54 +0200)]
configure: Use pkg-config to look for valgrind/memcheck.h.

12 years agolvmetad: Only create pidfile when running as a daemon (no -f).
Petr Rockai [Tue, 9 Oct 2012 18:25:17 +0000 (20:25 +0200)]
lvmetad: Only create pidfile when running as a daemon (no -f).

Additionally, -f now makes -s mandatory, so the foreground (debugging) lvmetad
does not steal the system-wide socket accidentally.

12 years agolibdaemon-server: Do not create pidfile if NULL.
Petr Rockai [Tue, 9 Oct 2012 18:22:30 +0000 (20:22 +0200)]
libdaemon-server: Do not create pidfile if NULL.

12 years agoTEST: Avoid building unit tests with --disable-testing.
Petr Rockai [Tue, 9 Oct 2012 09:20:28 +0000 (11:20 +0200)]
TEST: Avoid building unit tests with --disable-testing.

12 years agotest: more thin tests
Zdenek Kabelac [Tue, 9 Oct 2012 14:32:11 +0000 (16:32 +0200)]
test: more thin tests

12 years agotest: move raid10 test into separate test files
Zdenek Kabelac [Tue, 9 Oct 2012 11:51:30 +0000 (13:51 +0200)]
test: move raid10 test into separate test files

New features tested in new files.

12 years agotest: split raid tests
Zdenek Kabelac [Tue, 9 Oct 2012 10:17:33 +0000 (12:17 +0200)]
test: split raid tests

Separate original raid test and new raid10 test,
so the old could be tested on platforms without raid10 support.

Replace test-unfriendly `ls /dev/mapper`   with  dmsetup ls

12 years agolvchange: do not start dmevent for resyn
Zdenek Kabelac [Tue, 9 Oct 2012 10:20:47 +0000 (12:20 +0200)]
lvchange: do not start dmevent for resyn

If monitoring is disabled in lvm.conf, avoid its starting and preserve
DMEVENTD_MONITOR_IGNORE settings internally.

12 years agoexample.conf: Warn about running lvmetad with use_lvmetad = 0.
Petr Rockai [Tue, 9 Oct 2012 08:47:29 +0000 (10:47 +0200)]
example.conf: Warn about running lvmetad with use_lvmetad = 0.

12 years agotest: ignore modprobe failure
Zdenek Kabelac [Tue, 9 Oct 2012 08:37:37 +0000 (10:37 +0200)]
test: ignore modprobe failure

If the system doesn't have modprobe but happens to have modules
loaded, allow version testing.

12 years agoTEST: Check that LVM1 VGs work when using lvmetad (BZ 863401).
Petr Rockai [Tue, 9 Oct 2012 05:59:53 +0000 (07:59 +0200)]
TEST: Check that LVM1 VGs work when using lvmetad (BZ 863401).

12 years agolvmetad: Fix a leak on duplicated PVs (same PVID, different device).
Petr Rockai [Mon, 8 Oct 2012 18:31:12 +0000 (20:31 +0200)]
lvmetad: Fix a leak on duplicated PVs (same PVID, different device).

12 years agolvmetad: Fix a leak in an error path in update_metadata.
Petr Rockai [Mon, 8 Oct 2012 18:33:03 +0000 (20:33 +0200)]
lvmetad: Fix a leak in an error path in update_metadata.

12 years agoTEST: Give lvmetad a chance to exit gracefully upon teardown.
Petr Rockai [Mon, 8 Oct 2012 18:25:51 +0000 (20:25 +0200)]
TEST: Give lvmetad a chance to exit gracefully upon teardown.

12 years agoTEST: Wait for lvmetad socket to appear in "aux prepare_lvmetad".
Petr Rockai [Mon, 8 Oct 2012 18:25:14 +0000 (20:25 +0200)]
TEST: Wait for lvmetad socket to appear in "aux prepare_lvmetad".

12 years agoTEST: When INTERACTIVE=1, allow scripts to control a TTY.
Petr Rockai [Mon, 8 Oct 2012 18:15:55 +0000 (20:15 +0200)]
TEST: When INTERACTIVE=1, allow scripts to control a TTY.

12 years agolvmetad: Fix a typo-induced leak in destroy_metadata_hashes.
Petr Rockai [Mon, 8 Oct 2012 18:15:09 +0000 (20:15 +0200)]
lvmetad: Fix a typo-induced leak in destroy_metadata_hashes.

12 years agolibdaemon-client: Fix a memory leak in daemon_send.
Petr Rockai [Mon, 8 Oct 2012 16:35:30 +0000 (18:35 +0200)]
libdaemon-client: Fix a memory leak in daemon_send.

12 years agolibdaemon-server: Optimize logging for a fast no-output path.
Petr Rockai [Mon, 8 Oct 2012 16:34:33 +0000 (18:34 +0200)]
libdaemon-server: Optimize logging for a fast no-output path.

12 years agolibdaemon-server: Fix a memory leak in daemon_log_multi.
Petr Rockai [Mon, 8 Oct 2012 15:11:43 +0000 (17:11 +0200)]
libdaemon-server: Fix a memory leak in daemon_log_multi.

12 years agosystemd: remove ExecStartPost from lvm2-lvmetad.service.
Peter Rajnoha [Mon, 8 Oct 2012 14:49:54 +0000 (16:49 +0200)]
systemd: remove ExecStartPost from lvm2-lvmetad.service.

The ExecStartPost with pvscan --cache in lvm2-lvmetad.service
is not needed now as this is called transparently within the
first LVM command that queries lvmetad.

12 years agodev-cache: Make dev_iter_create work with a NULL filter.
Petr Rockai [Mon, 8 Oct 2012 14:16:58 +0000 (16:16 +0200)]
dev-cache: Make dev_iter_create work with a NULL filter.

This page took 0.069947 seconds and 5 git commands to generate.