1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-21 22:04:19 +03:00
Heinz Mauelshagen 16ae968d24 raid: fix left behind SubLVs
lvm metadata writes, commits and activations are performed
for (newly) allocated RAID metadata SubLVs to wipe any preexisiting
data thus avoid false raid superblock positives on RaidLV activation.

This process can be interrupted by command or system crashs
thus leaving stale SubLVs in the lvm metadata as a problem.

Because we hold an exclusive lock in this metadata SubLV wiping
process, we can address this problem by avoiding aforementioned
commits/writes/activations altogether wiping the respective first
sector of the first physical extent allocated to any metadata SubLV
directly via the existing dev_set() API.

Succeeds all LVM RAID tests.

Related: rhbz1633167
2018-10-24 16:35:30 +02:00
..
2018-10-15 17:49:44 +02:00
2018-07-11 11:26:42 -05:00
2018-10-11 11:06:23 +02:00
2018-10-15 17:49:44 +02:00
2018-06-08 13:40:53 +01:00
2018-06-08 13:40:53 +01:00
2018-10-15 17:49:44 +02:00
2018-06-08 13:40:53 +01:00
2018-10-24 16:35:30 +02:00
2018-10-15 17:49:44 +02:00
2018-07-02 10:24:20 +02:00
2018-06-08 13:40:53 +01:00
2018-06-08 13:40:53 +01:00
2018-07-09 15:29:16 +02:00
2018-06-08 13:40:53 +01:00
2018-07-11 11:26:42 -05:00