1
0
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:
Alasdair G Kergon 2016-08-23 16:09:18 +01:00
parent db0e34535c
commit 2d65ce9711

View File

@ -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));