LVM cachevol support
PATCH 1/1 LVM cachevol support
The +suffix format is described as a status flag here:
https://gitlab.com/lvmteam/lvm2/-/blob/main/lib/format_text/flags.c#L238
I've kept the match simple and in the style of the code around it. There's a need for dedicated functions to iterate through the LVM MDA, but that's a much larger scope.
I've compiled and tested this change. Before, grub's "ls" does not show my LV with cachevol, and grub-probe detects it as an "unknown LVM type". After, I'm able to boot with grub's root on an LV with cachevol.
I'd like to acknowledge Patrick Plenefisch, who submitted a similar patch with a broader scope, and issues with formatting and unrelated edits.
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel
You seem to have forgotten the patch
Le lun. 30 sept. 2024, 22:07, Scottie Shore <[email protected]> a écrit :
Quoted 11 lines
The +suffix format is described as a status flag here:
https://gitlab.com/lvmteam/lvm2/-/blob/main/lib/format_text/flags.c#L238I've kept the match simple and in the style of the code around it. There's a need for dedicated functions to iterate through the LVM MDA, but that's a much larger scope.
I've compiled and tested this change. Before, grub's "ls" does not show my LV with cachevol, and grub-probe detects it as an "unknown LVM type". After, I'm able to boot with grub's root on an LV with cachevol.
Quoted 8 lines
I'd like to acknowledge Patrick Plenefisch, who submitted a similar patch with a broader scope, and issues with formatting and unrelated edits.
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel
Quoted 9 lines · Scottie Shore
The +suffix format is described as a status flag here:
https://gitlab.com/lvmteam/lvm2/-/blob/main/lib/format_text/flags.c#L238I've kept the match simple and in the style of the code around it. There's a need for dedicated functions to iterate through the LVM MDA, but that's a much larger scope.
I've compiled and tested this change. Before, grub's "ls" does not show my LV with cachevol, and grub-probe detects it as an "unknown LVM type". After, I'm able to boot with grub's root on an LV with cachevol.
I'd like to acknowledge Patrick Plenefisch, who submitted a similar patch with a broader scope, and
Yay! I hope that one of our patches makes it in sooner rather than later, so that the next version of Debian I won't have to patch. If you want to join forces to push this through, I'm open to that, but given it's taken 8 months since I first submitted my patch, I hope that it doesn't take that long to get a new merged series in
Quoted 2 lines
issues with formatting and unrelated edits.
I honestly don't understand why I was requested to do those
Quoted 5 lines
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel