grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/4 v11] LVM Cachevol and Integrity volumes break entire LVM VG


From: Patrick Plenefisch
Subject: [PATCH 0/4 v11] LVM Cachevol and Integrity volumes break entire LVM VG
Date: Mon, 11 Nov 2024 13:32:49 -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 with cachevol or
integrity volumes will fail to boot

These patches are also available attached and at
https://github.com/byteit101/grub2/commits/grub-lvmintegrity/

Patrick Plenefisch (4):
  disk/lvm: Make cache_lv more generic as ignored_feature_lv
  disk/lvm: Remove unused cache_pool
  lvm: Add support for integrity lv
  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

Attachment: 0003-lvm-Add-support-for-integrity-lv.patch
Description: Text Data

Attachment: 0002-disk-lvm-Remove-unused-cache_pool.patch
Description: Text Data

Attachment: 0001-disk-lvm-Make-cache_lv-more-generic-as-ignored_featu.patch
Description: Text Data

Attachment: 0004-lvm-Add-support-for-cachevol-lv.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]