1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 11:55:55 +03:00
lvm2/lib
Zdenek Kabelac 96eda8b9b3 Skip unnecessary lock_vol() call after volume deactivation
Improve condition within lock_vol so we are not calling extra unlock
if the volume just has been deactivated.

Patch uses lck_type and replaces negative 'and' condition to more
readable 'or' condition.
Few missing strace traces added.
2011-01-13 14:56:17 +00:00
..
activate Add exec_cmd paramater sync_needed 2011-01-13 14:51:32 +00:00
cache Cache config_tree 2011-01-10 13:15:57 +00:00
commands Fix memory leak in filter creation error path 2011-01-06 15:29:24 +00:00
config Add checks for allocation errors in config node clonning. 2010-12-20 13:53:10 +00:00
datastruct Some const cleanups 2010-12-20 13:19:13 +00:00
device Use const char* const * for dm_regex_create() 2010-12-20 13:23:11 +00:00
display Refactor the percent (mirror sync, snapshot usage) handling code to use 2010-11-30 11:53:31 +00:00
error Remove const usage from destroy callbacks 2010-12-20 13:32:49 +00:00
filters add fio 2011-01-12 15:28:33 +00:00
format1 Remove unused variable label 2010-12-20 14:06:33 +00:00
format_pool Add internal error if pointer is uninitialized 2010-12-20 14:20:52 +00:00
format_text Change import_vg_from_buffer to use config_tree 2011-01-10 13:13:42 +00:00
freeseg Remove const usage from destroy callbacks 2010-12-20 13:32:49 +00:00
label Add dm_zalloc and use it and dm_pool_zalloc throughout. 2010-09-30 21:06:50 +00:00
locking Skip unnecessary lock_vol() call after volume deactivation 2011-01-13 14:56:17 +00:00
log Remove bufused for calculation 2010-10-26 08:53:25 +00:00
metadata Replace fs_unlock by sync_local_dev_names to notify local clvmd. (2.02.80) 2011-01-12 20:42:50 +00:00
mirror Remove unused variable mirr_state and its assignment 2011-01-05 12:27:56 +00:00
misc Add exec_cmd paramater sync_needed 2011-01-13 14:51:32 +00:00
mm Add more strict const pointers around config tree 2010-12-20 13:12:55 +00:00
replicator Remove const usage from destroy callbacks 2010-12-20 13:32:49 +00:00
report Return PERCENT_INVALID for error case 2011-01-05 12:33:51 +00:00
snapshot Remove const usage from destroy callbacks 2010-12-20 13:32:49 +00:00
striped Remove const usage from destroy callbacks 2010-12-20 13:32:49 +00:00
unknown Remove const usage from destroy callbacks 2010-12-20 13:32:49 +00:00
uuid Add id_format_and_copy() common function and call from _uuid_disp. 2010-09-30 14:07:33 +00:00
zero Remove const usage from destroy callbacks 2010-12-20 13:32:49 +00:00
Makefile.in Refactor the percent (mirror sync, snapshot usage) handling code to use 2010-11-30 11:53:31 +00:00