summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-11-06 17:34:43 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-11-06 17:34:47 -0500
commit75a17dd008d2a97df4c8901216b875382af9f570 (patch)
tree6ff420fe47f04b37fafd2ee095438c74b9e1110c
parent136e59d275326b4becbdcefeaf3d70519df32cfd (diff)
udev: bump event timeout in two more placesv208-stable
https://bugzilla.redhat.com/show_bug.cgi?id=1091513
-rw-r--r--src/udev/ata_id/ata_id.c2
-rw-r--r--src/udev/udev-event.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/ata_id/ata_id.c b/src/udev/ata_id/ata_id.c
index 5e55f8dc2..c05175c46 100644
--- a/src/udev/ata_id/ata_id.c
+++ b/src/udev/ata_id/ata_id.c
@@ -45,7 +45,7 @@
#include "libudev-private.h"
#include "log.h"
-#define COMMAND_TIMEOUT_MSEC (30 * 1000)
+#define COMMAND_TIMEOUT_MSEC (180 * 1000)
static int disk_scsi_inquiry_command(int fd,
void *buf,
diff --git a/src/udev/udev-event.c b/src/udev/udev-event.c
index 37b545b10..c4c62b460 100644
--- a/src/udev/udev-event.c
+++ b/src/udev/udev-event.c
@@ -49,7 +49,7 @@ struct udev_event *udev_event_new(struct udev_device *dev)
udev_list_init(udev, &event->run_list, false);
event->fd_signal = -1;
event->birth_usec = now(CLOCK_MONOTONIC);
- event->timeout_usec = 30 * 1000 * 1000;
+ event->timeout_usec = 180 * 1000 * 1000;
return event;
}