1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-07 21:18:59 +03:00
lvm2/lib/metadata
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
..
cache_manip.c cov: initialize attr 2021-09-13 12:34:41 +02:00
integrity_manip.c fix fs block size detection 2022-09-09 15:50:00 -05:00
lv_alloc.h build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
lv_manip.c lvresize: only resize crypt when fs resize is enabled 2023-01-19 11:52:14 -06:00
lv.c cleanup: use already known lv size 2021-09-27 18:56:14 +02:00
lv.h toollib: do not process just created historical LV 2022-10-12 15:14:59 +02:00
merge.c vdo: use single validator 2022-07-11 01:18:24 +02:00
metadata-exported.h vdo: fix and enhance vdo constain checking 2023-01-16 12:37:40 +01:00
metadata.c lvresize: add new options and defaults for fs handling 2022-09-13 15:15:05 -05:00
metadata.h lvresize: add new options and defaults for fs handling 2022-09-13 15:15:05 -05:00
mirror.c devices: fix dev_name assumptions 2022-02-24 17:22:04 -06:00
pool_manip.c toollib: do not process just created historical LV 2022-10-12 15:14:59 +02:00
pv_alloc.h doc: change fsf address 2016-01-21 12:11:37 +01:00
pv_list.c devices: fix dev_name assumptions 2022-02-24 17:22:04 -06:00
pv_manip.c cov: remove unneeded includes 2021-07-28 00:49:28 +02:00
pv_map.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
pv_map.h build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
pv.c cov: clean up pvid and vgid usage 2021-08-16 11:31:15 -05:00
pv.h cov: clean up pvid and vgid usage 2021-08-16 11:31:15 -05:00
raid_manip.c cleanup: use dm_list_empty 2021-10-06 15:43:31 +02:00
segtype.c segtype: add linear 2018-06-05 16:23:18 +02:00
segtype.h vdo: support v4 kernel target line 2022-07-11 01:18:24 +02:00
snapshot_manip.c gcc-fanalyzer: add extra check for origin_from_cow 2021-09-20 13:58:57 +02:00
takeover_matrix.h lvconvert: add infrastructure for RaidLV reshaping support 2017-02-24 05:20:58 +01:00
thin_manip.c thin: rename internal function 2022-08-30 13:54:19 +02:00
vdo_manip.c vdo: fix and enhance vdo constain checking 2023-01-16 12:37:40 +01:00
vg.c devices: fix dev_name assumptions 2022-02-24 17:22:04 -06:00
vg.h metadata: remember parsing size of VG metadata 2021-09-27 18:49:41 +02:00
writecache_manip.c writecache: support settings metadata_only and pause_writeback 2022-12-08 16:53:36 -06:00