summaryrefslogtreecommitdiff
path: root/WHATS_NEW
Commit message (Collapse)AuthorAgeFilesLines
...
* cache: implement better revert pathZdenek Kabelac2021-09-131-0/+1
| | | | | | When cache creation fails on table reload path, implemen more advanced revert solution, that tries to restore state of LVM metadata into is look before actual caching started.
* cache: filter out unsupported policy settingsZdenek Kabelac2021-09-131-0/+1
| | | | | | | | | | | | | Loading invalid MQ/SMQ policy settings table line cause immediate rejection - to prevent such failure, automatically filter valid settins before it is being uploaded by lvm2. For invalid setting issue a warnning informing user how to remove them. This solution is used to keep running cached LVs that might had been created in the past with invalid settings that have been actually unused due to another code bug.
* filters: fix memleak on mpath filter destroyZdenek Kabelac2021-09-131-0/+1
| | | | Missing free() leaks filter structure.
* vdo: read new sysfs pathZdenek Kabelac2021-09-091-0/+1
| | | | | | | | | New versions of kvdo module exposes statistics at new location: /sys/block/dm-XXX/vdo/statistics/... Enhance lvm2 to access this location first. Also if the statistic info is missing - make it 'debug' level info, so it is not failing 'lvs' command.
* vdo: add support for auto-unsafe writePolicyZdenek Kabelac2021-09-061-0/+1
| | | | This vdoWritePolicy policy missed matching support in lvm2.
* vdo: fixesZdenek Kabelac2021-08-311-0/+4
| | | | | | Better identify VDO device with major:minor. Handle different LV name from originally converted origin LV. Improve --dry-run handling.
* vdo: Rename vdoimport to lvm_import_vdo.Marian Csontos2021-08-261-0/+1
|
* post-releaseMarian Csontos2021-08-111-0/+3
|
* pre-releasev2_03_13Marian Csontos2021-08-111-2/+2
|
* WHATS_NEW: updateMarian Csontos2021-08-101-0/+9
|
* vgmerge: support option --poolmetadataspareZdenek Kabelac2021-07-231-1/+1
|
* vgsplit: add support for option --poolmetadataspareZdenek Kabelac2021-07-211-0/+1
| | | | | | | When splitting VG with thin/cache pool volume, handle pmspare during such split and allocate new pmspare in new VG or extend existing pmspare there and eventually drop pmspare in original VG if is no longer needed there.
* thin: fix component detection of external originZdenek Kabelac2021-07-141-0/+1
| | | | | | When check active componet of thinLV with external origin, we need to check if the external origin isn't already active. For this however we need to use layered check for -real device.
* vdo: add vdoimport supportZdenek Kabelac2021-07-091-0/+1
| | | | | | | | | | | | | Add tool 'vdoimport' to support easy conversion of an existing VDO manager managed VDO volumes into lvm2 managed VDO LV. When physical converted volume is already a logical volume, conversion happens with the VG itself, just with validation for extent_size, so the virtually sized logical VDO volume size can be expressed in extents. Example of basic simple usage: vdoimport --name vg/vdolv /dev/mapper/vdophysicalvolume
* WHATS_NEW: updateZdenek Kabelac2021-06-281-0/+2
|
* archive: avoid abuse of internal flagZdenek Kabelac2021-06-091-0/+1
| | | | | Since archive is now postponned we use internal variable 'changed' to mark we need to commit new metadata.
* vdo: fix preload of kvdoZdenek Kabelac2021-05-261-0/+1
| | | | | Commit 5bf1dba9eb8a8b77410e386e59dadeb27801b14e broke load of kvdo kernel module - correct it by loading kvdo instead of trying dm-vdo.
* post-releaseMarian Csontos2021-05-071-0/+3
|
* pre-releasev2_03_12Marian Csontos2021-05-071-6/+10
|
* lvmcache: fix memory leakZdenek Kabelac2021-04-231-0/+1
| | | | | | | | With commit 0b18c25d934564015402de33e15a267045ed1b8c there was introduced 'zalloc()' for allocation of outdates pvs, but no matching 'free()' is present. Switch to use cmd mempool instead of adding free() code into several places.
* WHATS_NEW: updateZdenek Kabelac2021-04-141-1/+0
|
* WHATS_NEW: updatesZdenek Kabelac2021-04-121-0/+4
|
* WHATS_NEW: updatesZdenek Kabelac2021-04-061-0/+3
|
* all: fix typosSamanta Navarro2021-03-301-1/+1
|
* configure: support builds without versioningZdenek Kabelac2021-03-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Not all libc (like musl, uclibc dietlibc) libraries support full symbol version resolution in runtime like glibc. Add support to not generate symbol versions when compiling against them. Additionally libdevmapper.so was broken when compiled against uclibc. Runtime linker loader caused calling dm_task_get_info_base() function recursively, leading to segmentation fault. Introduce --with-symvers=STYLE option, which allows to choose between gnu and disabled symbol versioning. By default gnu symbol versioning is used. __GNUC__ check is replaced now with GNU_SYMVER. Additionally ld version script is included only in case of gnu option, which slightly reduces output size. Providing --without-symvers to configure script when building against uclibc library fixes segmentation fault error described above, due to lack of several versions of the same symbol in libdevmapper.so library. Based on: https://patchwork.kernel.org/project/dm-devel/patch/20180831144817.31207-1-m.niestroj@grinn-global.com/ Suggested-by: Marcin Niestroj <m.niestroj@grinn-global.com>
* WHATS_NEW: updatesZdenek Kabelac2021-03-241-0/+2
|
* WHATS_NEW: updateZdenek Kabelac2021-03-231-0/+1
|
* WHATS_NEW: updatesZdenek Kabelac2021-03-181-0/+6
|
* WHATS_NEW: updatesZdenek Kabelac2021-03-151-0/+5
|
* WHATS_NEW: updatesZdenek Kabelac2021-03-081-0/+4
|
* WHATS_NEW: updatesZdenek Kabelac2021-03-021-0/+4
|
* WHATS_NEW: devices fileDavid Teigland2021-02-231-0/+1
|
* WHATS_NEW: updatesZdenek Kabelac2021-02-231-1/+3
|
* WHATS_NEW: updatesZdenek Kabelac2021-02-171-0/+7
|
* WHATS_NEW: updateZdenek Kabelac2021-02-101-0/+3
|
* WHATS_NEW: updatesZdenek Kabelac2021-02-081-0/+2
|
* lvcreate: use lv_passes_readonly_filterZdenek Kabelac2021-02-021-0/+1
| | | | | | Check if created LV is going to be activated read-only because such LV cannot be zeroed (equals to use option '-pr').
* WHATS_NEW: updatesZdenek Kabelac2021-02-011-0/+5
|
* lvdisplay: enhance LV status output for raid(0)Heinz Mauelshagen2021-01-271-0/+1
| | | | | | | | | | | | | | | | | | In case legs of a raid0 LV are removed, the lvdisplay command still reports 'available' though raid0 is not providing any resilience compared to the other raid levels. Also lvdisplay does not display '(partial)' in case of missing raid0 legs as oposed to the lvs command. Enhance lvdisplay to report "NOT available" for any RaidLV type in case too many legs are inaccessible hence causing data loss. I.e. any leg for raid0, all for raid1, more than 1 for raid4/5, more than 2 for raid6 and in case of completely lost mirror groups for raid10. Add test/shell/lvdisplay-raid.sh. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1872678
* WHATS_NEW: updateZdenek Kabelac2021-01-221-0/+4
|
* alloc: enhance estimation of sufficient_pes_freeZdenek Kabelac2021-01-131-0/+1
| | | | | | | | | Since commit 77fdc17d70e62cab75efaaf0dad02493b948610d always include log_len size into needed extents - however now we may need sometimes more extents then necessary - mainly when multiple PVs are involved into allocation. Add logs_still_needed into calculation of sufficient_pes_free()
* post-releaseMarian Csontos2021-01-081-0/+3
|
* pre-releasev2_03_11Marian Csontos2021-01-081-2/+7
|
* WHATS_NEW: updateZdenek Kabelac2020-10-241-0/+2
|
* wipe_lv: use BLKZEROOUT when possibleZdenek Kabelac2020-10-021-0/+1
| | | | | | | | | | Since BLKZEROOUT ioctl should be supposedly fastest way how to clear block device start using this ioctl for zeroing a device. Commonly we do zero typically small portion of a device (8KiB) - however since we now also started to zero metadata devices, in the case of i.e. thin-pool metadata this can go upto ~16GiB and here the performance starts to be noticable.
* wipe_lv: interruptible wipingZdenek Kabelac2020-10-021-0/+1
| | | | | Since we now block signals and wiping may take unexpectedly long time - support breaking command while wipe is in progress.
* wipe_lv: drop label_scan_invalidate on error pathZdenek Kabelac2020-10-021-1/+0
| | | | | | Since dev_set_bytes() now closes dev on error path itself, remove this unneeded call now (introduced few commits back in history thus removing comment from WHATS_NEW)
* bcache: support interrupts when waiting on IOZdenek Kabelac2020-10-021-0/+1
| | | | | | | | Since lvm2 normally block signals during protected phase where it does not want to be interrupted. Support interruptible processing when allowed in section between sigint_allow() ... sigint_restore()) and let the 'io_getenvents()' finish with EINTR.
* bcache: fix busy loop with too many errorsZdenek Kabelac2020-10-021-0/+1
| | | | | | | When bcache tries to write data to a faulty device, it may get out of caching blocks and then just busy-loops on a CPU - so this check protects this by checking if there is already max_io (~64) errored blocks.
* bcache: fix waiting problem for completed IOZdenek Kabelac2020-10-021-0/+1
| | | | | | | | | Call _wait_all() which does check whether there is still some pending IO before sleep. Otherwise it may happen our submitted IO operations have been already dispatched and this call then endlessly waits for IO which are all done. This can be reproduced when device returns quickly errors on write requests.