1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-31 21:18:26 +03:00

We need longer window for checking read from fifo.

Seems like some dmeventd startups are taking more time then expected,
so make the time window longer here.
This commit is contained in:
Zdenek Kabelac 2012-03-12 14:46:53 +00:00
parent 2412ede4c6
commit 91c0dc527b
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 1.02.75 -
================================
Make the time window for reading fifo longer 5sec (1.02.73).
Version 1.02.74 - 6th March 2012
================================

View File

@ -245,7 +245,7 @@ static int _daemon_read(struct dm_event_fifos *fifos,
log_error("Unable to read from event server");
return 0;
}
if ((ret == 0) && i && !bytes) {
if ((ret == 0) && (i > 4) && !bytes) {
log_error("No input from event server.");
return 0;
}