mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Don't take write lock in vgchange --refresh, --poll or --monitor.
This commit is contained in:
parent
727d065f6e
commit
c748bda186
@ -1,6 +1,7 @@
|
||||
Version 2.02.75 -
|
||||
=====================================
|
||||
Skip dm devices in scan if they contain only error targets.
|
||||
Don't take write lock in vgchange --refresh, --poll or --monitor.
|
||||
Skip dm devices in scan if they contain only error targets or are empty.
|
||||
Fix strict-aliasing compile warning in partition table scanning.
|
||||
Add an option to automatically extend snapshots through dmeventd.
|
||||
Remove dependency on libm, floor() is replaced with integer algorithm.
|
||||
|
@ -687,7 +687,10 @@ int vgchange(struct cmd_context *cmd, int argc, char **argv)
|
||||
}
|
||||
|
||||
return process_each_vg(cmd, argc, argv,
|
||||
(arg_count(cmd, available_ARG)) ?
|
||||
(arg_count(cmd, available_ARG) ||
|
||||
arg_count(cmd, refresh_ARG) ||
|
||||
arg_count(cmd, monitor_ARG) ||
|
||||
arg_count(cmd, poll_ARG)) ?
|
||||
0 : READ_FOR_UPDATE,
|
||||
NULL,
|
||||
&vgchange_single);
|
||||
|
Loading…
Reference in New Issue
Block a user