mirror of
https://github.com/systemd/systemd.git
synced 2024-12-25 01:34:28 +03:00
increase WAIT_FOR_SYSFS timeout to 10 seconds
We see SCSI disks where it takes 6.5 seconds to populate the sysfs attributes.
This commit is contained in:
parent
89e0a02226
commit
39ea7c6c67
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user