1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
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
..
activate cache: prepare status checking for layer 2016-12-18 19:23:13 +01:00
cache cleanup: drop assign before use 2016-10-03 17:49:55 +02:00
cache_segtype lvchange: allow change of cache mode 2016-05-19 18:40:14 +02:00
commands debug: more stacktrace corrections 2016-11-25 14:58:28 +01:00
config debug: more stacktrace corrections 2016-11-25 14:58:28 +01:00
datastruct datastruct: Add str_list_wipe. 2016-04-29 19:47:15 +01:00
device debug: more stacktrace corrections 2016-11-25 14:58:28 +01:00
display cleanup: warns from older gcc 2016-07-01 00:44:48 +02:00
error activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
filters cleanup: log_info to log_error 2016-11-03 17:49:07 +01:00
format1 cleanup: more lv_is_ usage 2016-12-13 22:07:52 +01:00
format_pool cleanup: more lv_is_ usage 2016-12-13 22:07:52 +01:00
format_text cleanup: more lv_is_ usage 2016-12-13 22:07:52 +01:00
freeseg doc: change fsf address 2016-01-21 12:11:37 +01:00
label log_info to log_very_verbose 2016-11-03 17:49:07 +01:00
locking cleanup: more lv_is_ usage 2016-12-13 22:07:52 +01:00
log cleanup: add 'static' for local struct 2016-11-03 12:43:09 +01:00
lvmpolld doc: change fsf address 2016-01-21 12:11:37 +01:00
metadata lv: fix lock holder for external origin 2016-12-18 19:25:25 +01:00
mirror activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
misc util: add clz() and use __builtin_clz() if available 2016-12-13 20:41:29 +00:00
mm cleanup: compile fixes for --disable-devmapper 2016-06-03 12:46:43 +02:00
notify dbus: also recognize error state for missing service that comes from original D-Bus 2016-11-15 10:09:11 +01:00
properties doc: change fsf address 2016-01-21 12:11:37 +01:00
raid raid: avoid manipulation of segment status 2016-12-13 22:07:52 +01:00
replicator doc: change fsf address 2016-01-21 12:11:37 +01:00
report lv: always check status type 2016-12-05 17:03:38 +01:00
snapshot activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
striped striped: implement compatible target name 2016-12-05 17:02:01 +01:00
thin macros: Use is_power_of_2. 2016-06-30 17:59:44 +01:00
unknown doc: change fsf address 2016-01-21 12:11:37 +01:00
uuid cleanup :drop unneeded header file 2016-10-03 17:49:56 +02:00
zero activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
Makefile.in lib: Move lcm and gcd to lib/misc for wider use. 2016-08-18 14:06:13 +01:00