Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754093AbYJ3IbS (ORCPT ); Thu, 30 Oct 2008 04:31:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752890AbYJ3Ia7 (ORCPT ); Thu, 30 Oct 2008 04:30:59 -0400 Received: from ey-out-2122.google.com ([74.125.78.25]:10840 "EHLO ey-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751683AbYJ3Ia6 (ORCPT ); Thu, 30 Oct 2008 04:30:58 -0400 Message-ID: Date: Thu, 30 Oct 2008 09:30:56 +0100 From: "Kay Sievers" To: "Tejun Heo" Subject: Re: why does udev set timeout for all SCSI devices? Cc: linux-scsi , "Linux Kernel" , "Jens Axboe" In-Reply-To: <49092208.9060909@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <49092208.9060909@kernel.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1100 Lines: 25 On Thu, Oct 30, 2008 at 03:55, Tejun Heo wrote: > 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. It's in there for years, I can not even dig out, where it is coming from. I just removed it from the default rules. Thanks, Kay -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/