1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
David Teigland 3bb5576528 lvresize: only resize crypt when fs resize is enabled
There were a couple of cases where lvresize, without --fs resize,
was resizing the crypt layer above the LV.  Resizing the crypt
layer should only be done when fs resizing is enabled (even if the
fs is already small enough due to being independently reduced.)

Also, check the size of the crypt device to see if it's already
been reduced independently, and skip the cryptsetup resize if
it's not needed.
2023-01-19 11:52:14 -06:00
..
activate vdo: read live vdo size configuration 2023-01-16 12:37:40 +01:00
cache lvmcache: fix strncpy len for wwid 2022-12-01 10:03:06 -06:00
cache_segtype gcc: remove invalid attribute 2021-09-13 12:34:41 +02:00
commands device_id: handle duplicate serial numbers 2022-11-07 08:56:02 -06:00
config device id: add new types using values from vpd_pg83 2022-10-10 11:47:29 -05:00
datastruct cleanup: eliminate unused assign 2021-03-11 00:18:01 +01:00
device lvresize: only resize crypt when fs resize is enabled 2023-01-19 11:52:14 -06:00
display gcc-fanalyzer: helping understand answer is not null 2021-09-21 21:03:47 +02:00
error device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
filters filters: remove unused internal filter 2022-04-06 12:51:34 -05:00
format_text _vg_read_raw_area: fix segfault caused by using null pointer 2022-08-15 09:39:02 -05:00
freeseg device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
integrity cleanup: no backtraces needed after log_error 2021-03-10 01:11:52 +01:00
label cov: remove unused headers 2022-07-11 01:18:24 +02:00
locking lvmlockd: Fix syntax error in previous commit 2023-01-11 13:34:38 +01:00
log shell: add pre-cmd log report object type and enable lastlog for it 2022-08-22 14:06:34 +02:00
lvmpolld device usage based on devices file 2021-02-23 16:43:32 -06:00
metadata lvresize: only resize crypt when fs resize is enabled 2023-01-19 11:52:14 -06:00
mirror lv_info: missing check for info.exists 2021-03-14 16:34:38 +01:00
misc utils: define macro for ffs 2021-09-27 18:56:14 +02:00
mm mm: use mallinfo2 when available 2022-08-30 13:56:16 +02:00
notify lvmnotify.c: Check to see if dbus daemon is running 2022-10-19 14:22:12 -05:00
properties build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
raid cleanup: reduce code dupliction 2021-03-19 23:21:18 +01:00
report lvmlockd: fix report of lv_active_exclusively for special lv types 2023-01-10 15:37:15 -06:00
snapshot typo: fixes 2021-02-08 23:53:41 +01:00
striped device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
thin thin: rename internal function 2022-08-30 13:54:19 +02:00
unknown device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
uuid asan: fix some reports from libasan 2022-02-07 20:02:11 +01:00
vdo vdo: fix and enhance vdo constain checking 2023-01-16 12:37:40 +01:00
writecache writecache: support settings metadata_only and pause_writeback 2022-12-08 16:53:36 -06:00
zero device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
Makefile.in devices: factor common list functions 2022-11-07 11:38:46 -06:00