Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756181AbYKCOSN (ORCPT ); Mon, 3 Nov 2008 09:18:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755816AbYKCORs (ORCPT ); Mon, 3 Nov 2008 09:17:48 -0500 Received: from emulex.emulex.com ([138.239.112.1]:45618 "EHLO emulex.emulex.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755699AbYKCORr (ORCPT ); Mon, 3 Nov 2008 09:17:47 -0500 Message-ID: <490F0822.6010406@emulex.com> Date: Mon, 3 Nov 2008 09:18:10 -0500 From: James Smart User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Jens Axboe CC: Alan Stern , James Bottomley , SCSI development list , Kernel development list Subject: Re: Problems with the block-layer timeouts References: <20081103085247.GO31673@kernel.dk> In-Reply-To: <20081103085247.GO31673@kernel.dk> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Nov 2008 14:18:14.0724 (UTC) FILETIME=[02875040:01C93DBF] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1169 Lines: 25 Jens Axboe wrote: >> While I'm on the subject, there are a few related items that could be >> improved. In my tests, I was generating I/O requests simply by doing >> >> dd if=/dev/sda ... >> >> I don't know where the timeouts for these requests are determined, but >> they were set to 60 seconds. That seems much too long. > > Fully agreed, as Mike mentioned this actually looks like a dumb udev > rule that didn't have any effect until this generic timeout work. For > normal IO, something in the 10 second range is a lot more appropriate. Yes and no. For direct-attach storage with no other initiators, ok. But for larger arrays, potentially with multiple initiators - no. I can name several arrays that depend on a 30 second timeout, and a few that, underload, require 60 seconds. I assume that there's usually "best practices" guides for the integrators to ensure the defaults are set right. -- james s -- 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/