1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00
David Teigland 939b4bc587 handle bad metadata text in vg_read path
Corrupt metadata text (with good mda header) was being handled
in the label_scan phase, but not in the vg_read phase.  This
was sufficient because metadata areas would always be read and
checksummed during label_scan (metadata parsing was skipped
previously as an optimization.)

This changed with the optimization in
commit 61a6f9905e87e650f0bddae83fec6923bb100a57
"metadata: optimize reading metadata copies in scan"

Now, some metadata areas will not be read and checksummed
at all during the label_scan phase, only during the vg_read
phase.  This means that bad metadata text may first be detected
in the vg_read phase.  So, add equivalent bad metadata handling
to the vg_read path to match the label_scan path.
2021-09-28 15:17:43 -05:00
..
2018-06-08 13:40:53 +01:00
2018-06-08 13:40:53 +01:00
2021-09-22 17:18:50 +02:00
2021-03-15 11:13:24 +01:00
2021-09-27 18:56:14 +02:00
2021-09-15 15:24:56 +02:00
2021-03-19 23:21:18 +01:00
2021-02-08 23:53:41 +01:00
2018-06-08 13:40:53 +01:00
2021-02-08 23:43:38 +01:00
2018-06-08 13:40:53 +01:00
2021-02-17 11:21:35 +01:00
2021-02-08 23:53:41 +01:00
2018-06-08 13:40:53 +01:00
2021-07-13 11:11:23 -05:00