summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Change new lvm2 git URLs from upper-case to lowercase.old_masterAlasdair Kergon2012-09-173-6/+6
|
* Indicate new location of source code.Alasdair Kergon2012-06-073-0/+27
|
* Remove unsupported udev_get_dev_path libudev call used for checking udev dir.Peter Rajnoha2012-05-296-45/+32
| | | | | | | | | | | | With latest changes in the udev, some deprecated functions were removed from libudev amongst which there was the "udev_get_dev_path" function we used to compare a device directory used in udev and directore set in libdevmapper. The "/dev" is hardcoded in udev now (udev version >= 183). Amongst other changes and from packager's point of view, it's also important to note that the libudev development library ("libudev-devel") could now be a part of the systemd development library ("systemd-devel") because of the udev + systemd merge.
* Fix error pathZdenek Kabelac2012-05-232-3/+6
| | | | | Do not increase nr_filt in case of NULL ret value, since the error path doesn't handle NULL pointers.
* Move thin_check_executable to proper sectionZdenek Kabelac2012-05-231-14/+15
| | | | | It's read from global section. In-release change, so no what's new
* Partial activation working, expect success in tests.Peter Rajnoha2012-05-171-1/+0
|
* Re-enable tests for snapshots of mirrors.Peter Rajnoha2012-05-172-13/+0
|
* snaps of mirrors are enabledZdenek Kabelac2012-05-161-1/+2
|
* ok - that was nice mid-air collisionZdenek Kabelac2012-05-161-1/+0
|
* updateZdenek Kabelac2012-05-161-0/+1
|
* Re-enable partial activation of non-thin LVs until it can be fixed. (2.02.90)Alasdair Kergon2012-05-162-16/+1
| | | | - The test should be checking the LV as a whole, not just individual segments.
* Add a (currently failing) test for RHBZ 816672.Petr Rockai2012-05-161-0/+30
|
* Add provisions to flag tests that we know will fail, without flagging the buildPetr Rockai2012-05-162-4/+24
| | | | (i.e. an expected failure).
* Set delay_resume_if_new on deptree snapshot origin.Alasdair Kergon2012-05-152-2/+11
| | | | (Must avoid activating snapshot origin more than once concurrently.)
* add major:minor to table size changed debug messageAlasdair Kergon2012-05-151-2/+3
|
* indicate when deptree detects but ignores size change in debug msgAlasdair Kergon2012-05-151-3/+5
|
* Refer to details of snapshot of raid problem.Alasdair Kergon2012-05-141-2/+6
|
* Warn of deadlock risk when using snapshots of mirror segment type.Alasdair Kergon2012-05-142-4/+4
|
* Fix cling policy not to behave like normal policy if no previous LV seg.Alasdair Kergon2012-05-112-27/+36
| | | | Fix alloc cling to cling to PVs already found with contiguous policy.
* Fix allocation policy loop so it doesn't continue beyond cling using laterAlasdair Kergon2012-05-112-3/+4
| | | | | policies it shouldn't be using when --alloc cling is specified but no tags are defined.
* Append _TO_LVSEG to names of internal A_CONTIGUOUS and A_CLING flags.Alasdair Kergon2012-05-112-12/+15
| | | | Remove some unnecesary prev_lvseg checks.
* Always include debug mesg when cling to allocated is set.Alasdair Kergon2012-05-111-1/+1
|
* Refactor _has_matching_pv_tag to provide a fn that takes PV structs.Alasdair Kergon2012-05-111-7/+12
|
* More comments on metadata area types.Peter Rajnoha2012-05-101-2/+5
|
* Comment on auxiliary metadata areas.Peter Rajnoha2012-05-101-2/+5
|
* Add missing pkg initZdenek Kabelac2012-05-103-1/+5
|
* Uncomment allocation section to match style of rest of file.Alasdair Kergon2012-05-101-34/+32
|
* Remove VG/PV used in the test.Peter Rajnoha2012-05-091-0/+2
|
* Fix division by zero if PV with zero PE count is used during vgcfgrestore.Peter Rajnoha2012-05-093-1/+10
|
* Initial support for lvconvert for thin pool volumes.Zdenek Kabelac2012-05-094-1/+246
| | | | | | | | | | | | | | | Support has many limitations and lots of FIXMEs inside, however it makes initial task when user creates a separate LV for thin pool data and thin metadata already usable, so let's enable it for testing. Easiest API: lvconvert --chunksize XX --thinpool data_lv metadata_lv More functionality extensions will follow up. TODO: Code needs some rework since a lot of same code is getting copied.
* Fix regression in for_each_sub_lvZdenek Kabelac2012-05-092-7/+1
| | | | | | pool_lv is not a sub lv in terms for this function. It has caused problem with renaming thin_volume, where it has tried to rename pool LV as well.
* Log value chosen in _find_config_bool like other variable types do.Alasdair Kergon2012-05-082-11/+19
|
* Fix up-convert when mirror activation is controled by volume_list and tags.Jonathan Earl Brassow2012-05-053-2/+29
| | | | | | | | | | | | When mirrors are up-converted, a transient mirror layer is put in so that only the new devices are sync'ed. That transient layer must carry the tags of the original mirror LV, otherwise it will fail to activate when activation is regulated by lvm.conf:activation/volume_list. The conversion would then fail. The fix is to do exactly the same thing that is being done for linear -> mirror converting (lib/metadata/mirror.c:_init_mirror_log()). We copy the tags temporarily for the new LV and remove them after the activation.
* Disallow snapshots of mirror segment types.Jonathan Earl Brassow2012-05-015-8/+28
| | | | | | | | | | | Snapshots of RAID logical volumes are allowed (including "raid1"). However, snapshots of "mirror" logical volumes has been disallowed due to unsolvable issues inherent to the design. The fact that mirroring (dm-raid1.c) must stop all I/O as the result of a failure and wait for userspace intervention can lead to a circular dependency if userspace is simultaneously waiting for snapshots (on mirrors) to make an I/O update before proceeding. Various snapshot on mirror tests have been removed as a result.
* Make a note that "raid1" is not cluster-aware in the example lvm.conf.Jonathan Earl Brassow2012-04-271-0/+2
| | | | | In the description of the segment types for the 'mirror_segtype_default' field, we mention that "raid1" is not cluster-aware.
* Use dm_strncpy instead of plain strncpy while setting the socket path.Peter Rajnoha2012-04-272-2/+8
| | | | Also check the return value as it meaningless to work with truncated strings.
* Fix bug in cmirror that caused incorrect status info to print on some nodes.Jonathan Earl Brassow2012-04-263-3/+4
| | | | | | | | | | | | | | | | Looking at the code in cmirrord/local.c, we can see the various different request types handled in different ways. Some information that is non-changing does not need to go around the cluster and can be short-circuited. For example, once the cluster mirror is in-sync, it is pointless to continue sending that query around the cluster. We can save network bandwidth and reply directly back to the kernel. When it comes to status information, there are two types 'TABLE' and 'INFO'. The 'TABLE' information never changes and belongs to the group of requests that can be safely short-circuited. The 'STATUS' information can change - and will change if a device fails. Thus it cannot be short-circuited, but this is exactly what was found. The 'STATUS' information request was being short-circuited and therefore never reporting the failure condition to anyone other than the "server" that experienced it directly.
* Remove statement that snapshots cannot be tagged from lvm man page.Alasdair Kergon2012-04-262-1/+1
|
* Disallow changing cluster attribute of VG while RAID LVs are active.Jonathan Earl Brassow2012-04-252-3/+6
| | | | | Mirror and snapshot LVs are already checked for when switching the cluster attribute of a VG. This patch adds RAID.
* WHATS_NEWPeter Rajnoha2012-04-251-0/+1
|
* Allow a subset of failed devices to be replaced in RAID LVs.Jonathan Earl Brassow2012-04-242-0/+19
| | | | | | If two devices in an array failed, it was previously impossible to replace just one of them. This patch allows for the replacement of some, but perhaps not all, failed devices.
* Prevent resume from creating error devices that already exist from suspend.Jonathan Earl Brassow2012-04-241-0/+1
| | | | | | Thanks to agk for providing the patch that prevents resume from attempting (and then failing) to create error devices which already exist; having been created by a corresponding suspend operation.
* Synchronize with self-destruction of dmeventdZdenek Kabelac2012-04-242-0/+8
| | | | | | | | In some occasional case dmevent restart was experiencing problems with obtaining pid lockfile. So this patch tries to send several more kill message until daemon kills itself so there is would reponse. With this small loop the restart seems to work reliable, although the loopsize and usleep are just randomly picked for now.
* Expect failure if the reduction doesn't really happenZdenek Kabelac2012-04-241-1/+1
|
* Add some lock commentsZdenek Kabelac2012-04-241-5/+5
|
* Update singlenode lockingZdenek Kabelac2012-04-242-64/+60
| | | | | | Support lock conversion Work also with LCK_READ TODO: do more validation.
* Sort lvs options by alphabetZdenek Kabelac2012-04-241-11/+11
|
* Update some lvs column namesZdenek Kabelac2012-04-242-5/+41
| | | | | | Fix thin_pool -> pool_lv Add more fields supported by thin provisioning. Keep fields alphabetically sorted for easier lookup.
* Also rename DevNos header to DevNosUsed in dmsetup info -c output.Peter Rajnoha2012-04-242-2/+2
|
* Rename (Blk)DevNames header to (Blk)DevNamesUsed in dmsetup info -c output.Peter Rajnoha2012-04-242-2/+3
| | | | | | | | | | | | | | | Just to make it clearer since there is the "dmsetup info -c -o blkdevname" as well that shows the "block device name for this mapping", having a "BlkDevName" header on output. It's a bit confusing then if the "dmsetup info -c -o devs_used,blkdevs_used" is named with a plural "DevNames"/"BlkDevNames" but at the same time having a totally different meaning than the singular form "BlkDevName". DevNames --> DevNamesUsed BlkDevNames --> BlkDevNamesUsed ...makes it much more comprehensible.