chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89e0a02
)
increase WAIT_FOR_SYSFS timeout to 10 seconds
author
Kay Sievers
<kay.sievers@vrfy.org>
Fri, 31 Aug 2007 09:01:35 +0000
(11:01 +0200)
committer
Kay Sievers
<kay.sievers@vrfy.org>
Fri, 31 Aug 2007 09:01:35 +0000
(11:01 +0200)
We see SCSI disks where it takes 6.5 seconds to populate the
sysfs attributes.
udev_rules.c
patch
|
blob
|
history
diff --git
a/udev_rules.c
b/udev_rules.c
index ef352ca2bc4cef3adf24438538096254cb92d55f..dcd091485b8e74c433916941c5aabd9e000f8e73 100644
(file)
--- a/
udev_rules.c
+++ b/
udev_rules.c
@@
-1040,7
+1040,7
@@
static int match_rule(struct udevice *udev, struct udev_rule *rule)
if (rule->wait_for_sysfs.operation != KEY_OP_UNSET) {
int found;
- found = (wait_for_sysfs(udev, key_val(rule, &rule->wait_for_sysfs),
3
) == 0);
+ found = (wait_for_sysfs(udev, key_val(rule, &rule->wait_for_sysfs),
10
) == 0);
if (!found && (rule->wait_for_sysfs.operation != KEY_OP_NOMATCH))
goto nomatch;
}