Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965864AbWKEMdL (ORCPT ); Sun, 5 Nov 2006 07:33:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965866AbWKEMdL (ORCPT ); Sun, 5 Nov 2006 07:33:11 -0500 Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:37513 "EHLO lxorguk.ukuu.org.uk") by vger.kernel.org with ESMTP id S965864AbWKEMdJ (ORCPT ); Sun, 5 Nov 2006 07:33:09 -0500 Subject: Re: New filesystem for Linux From: Alan Cox To: Brad Campbell Cc: James Courtier-Dutton , Albert Cahalan , kangur@polcom.net, mikulas@artax.karlin.mff.cuni.cz, linux-kernel@vger.kernel.org In-Reply-To: <454DCAAC.3080903@wasp.net.au> References: <787b0d920611041159y6171ec25u92716777ce9bea4a@mail.gmail.com> <1162691856.21654.61.camel@localhost.localdomain> <454DC799.9000401@superbug.co.uk> <454DCAAC.3080903@wasp.net.au> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Sun, 05 Nov 2006 12:37:24 +0000 Message-Id: <1162730244.31873.5.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 (2.6.2-1.fc5.5) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 900 Lines: 15 Ar Sul, 2006-11-05 am 15:27 +0400, ysgrifennodd Brad Campbell: > I've never seen this behaviour in a drive. All the drives I've seen mark bad sectors as "pending > reallocation", they they return read errors on that sector unless they manage to jag a good read, in > which case they then reallocate the sector. Or else they wait for you to write to the sector > triggering a reallocation. If a drive finds a sector has a high amount of error but readable it can certainly relocate it and I'd hope it does it atomically as a transaction. You wouldn't see it as unlike SCSI the ATA world doesn't have an "I got your sector and did a rewrite" return code - 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/