1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-11 20:58:50 +03:00
Zdenek Kabelac 1ea41b6d48 activation: fix usage of origin_only
When lock-holding LV differs from actually request locked LV,
we drop  origin_only flag as it has no use - it'd be applied
on completely different LV.

Example of problem:

Raid is  thin-pool _tdata LV.
Raid run  origin_only locking on stacked device.
As lock holder is discovered thinLV.
Whole origin_only operation is then applied only on thinLV
changing the meaning of whole operation.

NOTE: this patch does not change anything for LV that are
already top-level lock holding LVs (i.e. thinLVs, snahoshots/origins).
2017-06-20 18:23:24 +02:00
..
2017-06-09 21:49:19 +02:00
2016-04-29 19:47:15 +01:00
2016-11-03 17:49:07 +01:00
2017-03-27 20:50:19 +02:00
2016-01-21 12:11:37 +01:00
2016-11-03 17:49:07 +01:00
2016-12-13 22:07:52 +01:00
2016-01-21 12:11:37 +01:00
2017-04-10 18:41:28 +02:00
2016-01-21 12:11:37 +01:00
2017-06-16 17:04:01 +02:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-10-03 17:49:56 +02:00