Re: [PATCH 2/2] lvm: Add support for cachevol and integrity lv

2024-06-27 Thread Patrick Plenefisch
On Wed, Jun 26, 2024 at 7:58 AM Daniel Kiper wrote: > > On Sun, Jun 09, 2024 at 03:35:06PM -0400, Patrick Plenefisch wrote: > > lv matching must be done after processing the ignored feature > > indirections, as integrity volumes & caches may have several levels > > of indirection that the segments

Re: [PATCH 2/2] lvm: Add support for cachevol and integrity lv

2024-06-26 Thread Daniel Kiper
On Sun, Jun 09, 2024 at 03:35:06PM -0400, Patrick Plenefisch wrote: > 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. > > pv matching must be completely fi

[PATCH 2/2] lvm: Add support for cachevol and integrity lv

2024-06-09 Thread Patrick Plenefisch
r (lv2 = vg->lvs; lv2; lv2 = lv2->next) +{ + if (lv1 == lv2) +continue; + if (grub_strcmp (lv2->name, + lv1->segments[i].nodes[j].name) == 0) + lv1->segments[i].nodes[j].lv = lv2; +} + }