]> err.no Git - systemd/commitdiff
rules: remove SCSI timeouts
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 30 Oct 2008 08:20:03 +0000 (09:20 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 30 Oct 2008 08:20:03 +0000 (09:20 +0100)
On Thu, Oct 30, 2008 at 03:55, Tejun Heo <tj@kernel.org> wrote:
The appropriate default timeout differs depending on the transport and
the type of the attached device, so the above two rules harm more than
help.  The affect of the above two rules weren't visible for some
reason but with recent block layer timeout update, they actually work
and cause problems.

rules/rules.d/50-udev-default.rules

index b41718c771e54ec68b930fe1165ede043c2c9c02..5b56e4b9839967f658520459bc18bfd7b4560979 100644 (file)
@@ -63,8 +63,6 @@ KERNEL=="irlpt[0-9]*",                GROUP="lp"
 # block, tapes, block-releated
 SUBSYSTEM=="block", GROUP="disk"
 SUBSYSTEM=="block", KERNEL=="sr[0-9]*", SYMLINK+="scd%n"
-SUBSYSTEM=="scsi", KERNEL=="[0-9]*:[0-9]*", ACTION=="add", ATTR{type}=="0|7|14", ATTR{timeout}="60"
-SUBSYSTEM=="scsi", KERNEL=="[0-9]*:[0-9]*", ACTION=="add", ATTR{type}=="1", ATTR{timeout}="900"
 KERNEL=="hd*", SUBSYSTEMS=="ide", ATTRS{media}=="floppy", OPTIONS+="all_partitions"
 KERNEL=="fd[0-9]",             GROUP="floppy"
 KERNEL=="fd[0-9]", ACTION=="add", ATTRS{cmos}=="?*", RUN+="create_floppy_devices -c -t $attr{cmos} -m %M -M 0640 -G floppy $root/%k"