Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932929AbXAaPiv (ORCPT ); Wed, 31 Jan 2007 10:38:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932928AbXAaPiv (ORCPT ); Wed, 31 Jan 2007 10:38:51 -0500 Received: from rtr.ca ([64.26.128.89]:1983 "EHLO mail.rtr.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932918AbXAaPiu (ORCPT ); Wed, 31 Jan 2007 10:38:50 -0500 Message-ID: <45C0B807.8010508@rtr.ca> Date: Wed, 31 Jan 2007 10:38:47 -0500 From: Mark Lord User-Agent: Thunderbird 1.5.0.9 (X11/20061206) MIME-Version: 1.0 To: dougg@torque.net Cc: ric@emc.com, Jeff Garzik , "Eric D. Mudama" , James Bottomley , linux-kernel@vger.kernel.org, IDE/ATA development list , linux-scsi Subject: Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR References: <200701301947.08478.liml@rtr.ca> <1170206199.10890.13.camel@mulgrave.il.steeleye.com> <311601c90701301725n53d25a74g652b7ca3bfc64c56@mail.gmail.com> <45BFF3D6.9050605@rtr.ca> <45C061C3.8030006@garzik.org> <45C0A985.7010402@emc.com> <45C0B5A1.8000506@torque.net> In-Reply-To: <45C0B5A1.8000506@torque.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 892 Lines: 23 Douglas Gilbert wrote: > > Ric, > Both ATA (ATA8-ACS) and SCSI (SBC-3) have recently added > command support to flag a block as "uncorrectable". There > is no need to send bad "long" data to it and suppress the > disk's automatic re-allocation logic. That'll be useful in a couple of years, once drives that have it become more common. For now, though, we're hacking current drives using READ/WRITE LONG commands, with a corresponding patch to libata to allow for the longer "sector size" involved. Having real bad sectors, exactly where we want them on the media, sure does make testing / fixing the EH mechanisms a lot more feasible. Cheers - 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/