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:
parent
2412ede4c6
commit
91c0dc527b
@ -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
|
||||
================================
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user