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
j
This patch isn't necessary by itself, but when combined with the next two
patchs it enhances readability as ignored_features_lv is then used for
multiple types of extra LV's, not just cache LV's
Signed-off-by: Patrick Plenefisch
Reviewed-by: Daniel Kiper
---
grub-core/disk/lvm.c | 176 +
cache_pool is never read or used, remove it
Signed-off-by: Patrick Plenefisch
Reviewed-by: Daniel Kiper
---
grub-core/disk/lvm.c | 25 -
1 file changed, 25 deletions(-)
diff --git a/grub-core/disk/lvm.c b/grub-core/disk/lvm.c
index 36023279f..286132d74 100644
--- a/grub
pv matching must be completely finished before validating a
volume, otherwise referenced raid stripes may not have pv
data applied yet
This change is required for integrity & cachevol support
Signed-off-by: Patrick Plenefisch
---
grub-core/disk/diskfilter.c | 6 --
1 file changed, 4 inserti
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
j
This patch isn't necessary by itself, but when combined with the next
two patchs it enhances readability as ignored_features_lv is then used
for multiple types of extra LV's, not just cache LV's
Signed-off-by: Patrick Plenefisch
Reviewed-by: Daniel Kiper
---
grub-core/disk/lvm.c | 176 +
Mark cachevol lv's as ignored features, which is true
only if they are configured as "writethrough". This patch
does not let grub boot from "writeback" cache-enabled lv's
Signed-off-by: Patrick Plenefisch
Reviewed-by: Daniel Kiper
---
grub-core/disk/lvm.c | 2 ++
1 file changed, 2 insertions(+)
lv matching must be done after processing the ignored feature
indirections, as integrity volumes & caches may have several levels
of indirection that the segments must be shifted through.
Signed-off-by: Patrick Plenefisch
---
grub-core/disk/lvm.c | 70
This patch contains a change requested by Daniel Kiper to use
a null character instead of an integer zero to terminate strings
Signed-off-by: Patrick Plenefisch
---
grub-core/disk/lvm.c | 16 +++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/grub-core/disk/lvm.c b/gr