Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423153AbXBBO3y (ORCPT ); Fri, 2 Feb 2007 09:29:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1423185AbXBBO3x (ORCPT ); Fri, 2 Feb 2007 09:29:53 -0500 Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:40811 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1423150AbXBBO3w (ORCPT ); Fri, 2 Feb 2007 09:29:52 -0500 Date: Fri, 2 Feb 2007 14:42:11 +0000 From: Alan To: Ric Wheeler Cc: James Bottomley , Mark Lord , linux-kernel@vger.kernel.org, IDE/ATA development list , linux-scsi Subject: Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR Message-ID: <20070202144211.5a2d2365@localhost.localdomain> In-Reply-To: <45C32C7F.9050706@emc.com> References: <200701301947.08478.liml@rtr.ca> <1170206199.10890.13.camel@mulgrave.il.steeleye.com> <45C2474E.9030306@rtr.ca> <1170366920.3388.62.camel@mulgrave.il.steeleye.com> <45C32C7F.9050706@emc.com> X-Mailer: Claws Mail 2.7.1 (GTK+ 2.10.4; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1210 Lines: 26 > The interesting point of this question is about the typically pattern of > IO errors. On a read, it is safe to assume that you will have issues > with some bounded numbers of adjacent sectors. Which in theory you can get by asking the drive for the real sector size from the ATA7 info. (We ought to dig this out more as its relevant for partition layout too). > I really like the idea of being able to set this kind of policy on a per > drive instance since what you want here will change depending on what > your system requirements are, what the system is trying to do (i.e., > when trying to recover a failing but not dead yet disk, IO errors should > be as quick as possible and we should choose an IO scheduler that does > not combine IO's). That seems to be arguing for a bounded "live" time including retry run time for a command. That's also more intuitive for real time work and for end user setup. "Either work or fail within n seconds" Alan - 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/