1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib/metadata
Zdenek Kabelac 29b0e42be3 lv: fix lock holder for external origin
External origin could be reloaded via more locks.
It's actually even more complex then thin-pool,
as it may be active on more nodes for linear LVs
(and maybe even more types).

External origin is always read-only thus unmodifiable
device so there should not be a problem accesing it
through multiple nodes.

Also for thin-pool check first presence of active thin-pool.

FIXME:
It's not easy to detect on which nodes this device is active
Thus manipulation with such device may require checking every
node and it active state and refresh.

But since such setup is quite complex to prepare and use,
hopefully there are not user trying to 'explore' this usage yet.
2016-12-18 19:25:25 +01:00
..
cache_manip.c cache: prepare status checking for layer 2016-12-18 19:23:13 +01:00
lv_alloc.h doc: change fsf address 2016-01-21 12:11:37 +01:00
lv_manip.c thin: reload external origin with last thin 2016-12-18 19:13:34 +01:00
lv.c lv: fix lock holder for external origin 2016-12-18 19:25:25 +01:00
lv.h lv: introduce lvseg_percent_with_info_and_seg_status 2016-05-27 15:47:24 +02:00
merge.c validation: check external property is matching 2016-12-18 19:17:59 +01:00
metadata-exported.h raid: fix activation of tracked image 2016-12-18 19:10:38 +01:00
metadata.c cleanup: zero baton in struct initilizer 2016-12-09 15:15:02 +01:00
metadata.h thin: enforce there is some free space in thin pool metadata 2016-09-19 14:00:56 +02:00
mirror.c cleanup: use NAME_LEN stack buffer 2016-12-11 23:24:19 +01:00
pool_manip.c debug: better verbose message 2016-08-29 20:51:16 +02:00
pv_alloc.h doc: change fsf address 2016-01-21 12:11:37 +01:00
pv_manip.c lvmetad: two phase vg_update 2016-06-28 02:30:31 +01:00
pv_map.c doc: change fsf address 2016-01-21 12:11:37 +01:00
pv_map.h doc: change fsf address 2016-01-21 12:11:37 +01:00
pv.c lvmcache: add optional dev arg to lvmcache_info_from_pvid 2016-06-07 15:15:47 -05:00
pv.h pv: add is_used_pv fn 2016-02-15 12:44:46 +01:00
raid_manip.c cleanup: use exiting function 2016-12-14 11:41:42 +01:00
replicator_manip.c lvmetad: two phase vg_update 2016-06-28 02:30:31 +01:00
segtype.c segtypes: Further segtype macros. 2016-08-05 14:00:40 +01:00
segtype.h lvchange/vgchange/lvconvert: prevent raid4 creation/activation/conversion on non-supporting raid targets 2016-10-27 11:42:07 +02:00
snapshot_manip.c cleanup: more lv_is_ usage 2016-12-13 22:07:52 +01:00
takeover_matrix.h raid0: Add raid0_meta segment type. 2016-07-01 22:20:54 +01:00
thin_manip.c cleanup: drop assign before use 2016-10-03 17:49:55 +02:00
vg.c macros: Use is_power_of_2. 2016-06-30 17:59:44 +01:00
vg.h lvmetad: two phase vg_update 2016-06-28 02:30:31 +01:00