summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}