1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Zdenek Kabelac 08df7ba844 thin: improve pool creation activation order
Pool creation involves clearing of metadata device
which triggers udev watch rule we cannot udev synchronize with
in current code.

This metadata devices needs to be activated localy,
so in cluster mode deactivation and reactivation
is always needed.

However for non-clustered mode we may reload table
via suspend/resume path which avoids collision with
udev watch rule which was occasionaly triggering
retry deactivation loop.

Code has been also split into 2 separate code paths
for thin pools and thin volumes which improved readability
of the code as well.

Deactivation has been moved out of extend_pool() and
decision is now in _lv_create_an_lv() which knows
the change mode.
2013-07-18 18:22:43 +02:00
..
activate cleanup: stack and remove braces 2013-07-18 18:16:17 +02:00
cache sigint: improve logic on for sigint reaction 2013-07-03 14:46:42 +02:00
commands conf: add activation/auto_set_activation_skip 2013-07-12 20:54:17 +02:00
config config_settings: add comment about possible types 2013-07-16 15:18:40 +02:00
datastruct Switch to return void 2012-02-08 12:52:58 +00:00
device config: add profile arg to find_config_tree_node 2013-07-02 15:19:09 +02:00
display cleanup: update comments 2013-07-15 15:40:46 +02:00
error cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
filters config: add config_source_t type to identify configuration source 2013-07-02 15:19:08 +02:00
format1 cleanup: drop unused headers 2013-06-16 00:07:32 +02:00
format_pool cleanup: drop unused headers 2013-06-16 00:07:32 +02:00
format_text cleanup: use dm_list_empty 2013-07-18 18:22:42 +02:00
freeseg cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
label logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
locking locking: unlock memory on error path 2013-07-08 14:02:49 +02:00
log cleanup: introduce return_ECMD_FAILED macro 2013-07-01 23:10:33 +02:00
metadata thin: improve pool creation activation order 2013-07-18 18:22:43 +02:00
mirror config: add profile arg to find_config_tree_str 2013-07-02 15:19:09 +02:00
misc lvm-percent.c: Add #include "lib.h" 2013-07-12 16:52:16 -05:00
mm config: add profile arg to find_config_tree_bool 2013-07-02 15:19:09 +02:00
properties lvm2app: Add thin and thin pool lv creation 2013-07-12 16:52:16 -05:00
raid config: add profile arg to find_config_tree_str 2013-07-02 15:19:09 +02:00
replicator cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
report lib/properties: Common code for handling properties. 2013-07-12 16:52:16 -05:00
snapshot config: add profile arg to find_config_tree_str 2013-07-02 15:19:09 +02:00
striped Add activation/use_linear_target enabled by default. (prajnoha) 2011-11-28 20:37:51 +00:00
thin thin: for thin volumes properly list modules 2013-07-18 18:22:43 +02:00
unknown cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
uuid Revert the #include changes. Need to fix this at the #include site for now, and 2011-07-18 14:34:33 +00:00
zero cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
Makefile.in lib/properties: Common code for handling properties. 2013-07-12 16:52:16 -05:00