mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
dmeventd: Add fixed timeout when unmonitoring.
This commit is contained in:
parent
db0e34535c
commit
2d65ce9711
@ -1853,7 +1853,7 @@ int monitor_dev_for_events(struct cmd_context *cmd, const struct logical_volume
|
||||
continue;
|
||||
|
||||
if (new_unmonitor) {
|
||||
if (!target_register_events(cmd, dso, lv, 0, 0, 0)) {
|
||||
if (!target_register_events(cmd, dso, lv, 0, 0, 10)) {
|
||||
log_error("%s: segment unmonitoring failed.",
|
||||
display_lvname(lv));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user