All of lore.kernel.org
 help / color / mirror / Atom feed
* why does udev set timeout for all SCSI devices?
@ 2008-10-30  2:55 Tejun Heo
  2008-10-30  8:30 ` Kay Sievers
  0 siblings, 1 reply; 2+ messages in thread
From: Tejun Heo @ 2008-10-30  2:55 UTC (permalink / raw)
  To: linux-scsi, Linux Kernel, Kay Sievers, Jens Axboe

Hello, Kay.

As the $SUBJ says, why does udev set timeout for all SCSI devices?
It's the following two rules.

50-udev-default.rules:SUBSYSTEM=="scsi", KERNEL=="[0-9]*:[0-9]*",
ACTION=="add", ATTR{type}=="0|7|14", ATTR{timeout}="60"
50-udev-default.rules:SUBSYSTEM=="scsi", KERNEL=="[0-9]*:[0-9]*",
ACTION=="add", ATTR{type}=="1", ATTR{timeout}="900"

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.

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-10-30  8:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-30  2:55 why does udev set timeout for all SCSI devices? Tejun Heo
2008-10-30  8:30 ` Kay Sievers

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.