|
From: | Patrick Plenefisch |
Subject: | [PATCH 0/6 v12] LVM Cachevol and Integrity volumes break entire LVM VG |
Date: | Sat, 7 Dec 2024 21:41:59 -0500 |
In an effort to solve https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061168 for myself, I implemented basic support for cachevol and integrity volumes in LVM. This is just an extension of the cachepool support that already existed, and just like that support, I ignore all of the metadata and just go for the data. This obviously means that writing to "writeback" cachepools, and any raidintegrity volumes will cause corruption as before, but as grub only reads files, I think that should be fine. Without these patches, a system with /boot on a LV in a VG that also has cachevol or integrity volumes will fail to boot. These patches are also available attached and at https://github.com/byteit101/grub2/commits/grub-lvmintegrity/ This is identical to the previous version, except patch 3 has been split into patches 3,4, and 5. Patrick Plenefisch (6): disk/lvm: Make cache_lv more generic as ignored_feature_lv disk/lvm: Remove unused cache_pool lvm: Match all lvm segments before validation lvm: Add support for integrity lv lvm: add informational messages in error cases of ignored features lvm: Add support for cachevol lv grub-core/disk/diskfilter.c | 6 +- grub-core/disk/lvm.c | 267 ++++++++++++++++++------------------ 2 files changed, 136 insertions(+), 137 deletions(-) -- 2.39.5
0006-lvm-Add-support-for-cachevol-lv.patch
Description: Text Data
0005-lvm-add-informational-messages-in-error-cases-of-ign.patch
Description: Text Data
0004-lvm-Add-support-for-integrity-lv.patch
Description: Text Data
0003-lvm-Match-all-lvm-segments-before-validation.patch
Description: Text Data
0001-disk-lvm-Make-cache_lv-more-generic-as-ignored_featu.patch
Description: Text Data
0002-disk-lvm-Remove-unused-cache_pool.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |