1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-08 08:58:50 +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
..
2019-10-14 15:20:25 +02:00
2018-09-10 11:49:11 -05:00
2021-03-22 22:46:21 +01:00
2021-09-13 10:55:07 -05:00
2021-09-21 21:03:47 +02:00
2021-03-23 01:15:29 +01:00
2019-08-09 12:57:21 +02:00
2017-07-10 14:23:53 +02:00
2017-07-10 14:23:53 +02:00
2019-09-17 13:17:21 +02:00
2017-07-10 14:23:53 +02:00
2017-07-10 14:23:53 +02:00
2017-07-10 14:23:53 +02:00
2017-07-10 14:23:53 +02:00
2017-07-10 14:23:53 +02:00
2021-03-28 11:39:58 +02:00
2017-07-10 14:23:53 +02:00
2018-07-09 15:29:16 +02:00
2020-09-19 17:30:51 +02:00
2018-09-10 11:49:11 -05:00
2021-09-21 21:03:47 +02:00
2020-01-13 17:42:31 +01:00
2021-03-28 11:39:58 +02:00
2021-05-06 14:43:10 -05:00
2018-09-10 11:49:11 -05:00
2019-11-15 12:37:44 +01:00
2021-09-21 21:03:47 +02:00
2018-09-10 11:49:11 -05:00
2018-09-10 11:49:11 -05:00
2017-07-10 14:23:53 +02:00
2017-07-10 14:23:53 +02:00
2017-07-10 14:23:53 +02:00
2018-09-10 11:49:11 -05:00
2017-07-10 14:23:53 +02:00
2021-03-28 14:22:11 +02:00
2021-03-20 00:05:01 +01:00
2017-07-10 14:23:53 +02:00
2018-09-10 11:49:11 -05:00
2021-04-06 22:02:31 +02:00
2021-09-21 21:03:47 +02:00
2021-03-28 11:39:58 +02:00
2020-01-13 17:42:31 +01:00
2018-09-10 11:49:11 -05:00
2018-09-10 11:49:11 -05:00
2021-03-30 13:08:14 +02:00
2018-09-10 11:49:11 -05:00
2020-09-25 22:59:35 +02:00
2018-06-25 15:07:55 +02:00
2020-09-22 23:28:43 +02:00
2018-09-10 11:49:11 -05:00
2018-09-10 11:49:11 -05:00
2017-07-10 14:23:53 +02:00
2017-07-10 14:23:53 +02:00
2021-07-21 15:56:33 +02:00
2017-07-10 14:23:53 +02:00
2020-09-25 22:59:35 +02:00
2017-07-10 14:23:53 +02:00
2017-07-10 14:23:53 +02:00