]> sourceware.org Git - lvm2.git/commit
lv: fix lock holder for external origin
authorZdenek Kabelac <zkabelac@redhat.com>
Sat, 17 Dec 2016 21:40:14 +0000 (22:40 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Sun, 18 Dec 2016 18:25:25 +0000 (19:25 +0100)
commit29b0e42be3026a11c86fc05f82f6a14e71d26cc8
treea15a99b164272257f81e566889567e98802f28ae
parenta24eae6e82f365c66f4faeabc975ead0c476916b
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.
WHATS_NEW
lib/metadata/lv.c
This page took 0.035893 seconds and 5 git commands to generate.