diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-11-07 02:22:44 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-11-07 02:22:44 +0100 |
commit | 0b3dfb3d72e1df5f38ecb9669e37e5e77d958343 (patch) | |
tree | 6196e26a8f176d6445823ed27e3e5972069923d8 /udevd.h | |
parent | 1ad45a47cae79a80bb9c9ff287dc46c18b2ddc71 (diff) |
udevd: depend on netlink and remove all sequence reorder logic
Netlink will never get out-of-order and we just depend on it from
now on. Udevsend messages will have no effect if they contain a
sequence number (SEQNUM).
Thanks to Bastian Blank <waldi@debian.org>, for the debugging session
which identified a bug where the timeouts are not working if
inotify was not available. All the timeout handling is removed
now and this issue should be solved.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udevd.h')
-rw-r--r-- | udevd.h | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -29,13 +29,6 @@ #define UDEVD_PRIORITY -4 #define UDEV_PRIORITY -2 -/* duration of initialization phase with shorter timeout */ -#define UDEVD_INIT_TIME 5 -#define UDEVD_INIT_EVENT_TIMEOUT 2 - -/* timeout to wait for missing events */ -#define UDEVD_EVENT_TIMEOUT 5 - /* maximum limit of runnig childs */ #define UDEVD_MAX_CHILDS 64 /* start to throttle forking if maximum number of running childs in our session is reached */ @@ -68,7 +61,7 @@ struct uevent_msg { enum udevd_msg_type type; struct list_head node; pid_t pid; - long queue_time; + time_t queue_time; char *action; char *devpath; char *subsystem; |