grub-devel
[Top][All Lists]
Advanced

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

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


From: Patrick Plenefisch
Subject: [PATCH 0/2] LVM Cachevol and Integrity volumes break entire LVM VG
Date: Sun, 9 Jun 2024 15:35:01 -0400

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 (2):
  disk/lvm: Make cache_lv more generic as ignored_feature_lv
  lvm: Add support for cachevol and integrity lv

 grub-core/disk/diskfilter.c |   6 +-
 grub-core/disk/lvm.c        | 264 ++++++++++++++++++------------------
 2 files changed, 134 insertions(+), 136 deletions(-)

-- 
2.39.2

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

Attachment: 0002-lvm-Add-support-for-cachevol-and-integrity-lv.patch
Description: Text Data


reply via email to

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