[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200905251218.18262.wolfgang.mues@auerswald.de>
Date: Mon, 25 May 2009 12:18:18 +0200
From: Wolfgang Mües <wolfgang.mues@...rswald.de>
To: "David Brownell" <david-b@...bell.net>
Cc: "Pierre Ossman" <pierre@...man.eu>,
"Matt Fleming" <matt@...sole-pimps.org>,
"Pierre Ossman" <drzeus@...eus.cx>,
"Andrew Morton" <akpm@...ux-foundation.org>,
"Mike Frysinger" <vapier.adi@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mmc_spi: use EILSEQ for possible transmission errors
David,
Am Montag, 25. Mai 2009 schrieb David Brownell:
> It can't. But when the card controller knows that for example
> certain logical blocks are not holding data, it can use that
> for wear leveling ... it's got more physical blocks to use to
> even out the writes, as well as having any records it kept on
> writes, reads, and erasures.
OK. So the block layer is issuing erase commands for all sectors which get
unused, to let the mmc/sd card controller know that these areas are unused.
Are these erase commands requests (as reads and writes)? I suppose...
So if this code gets integrated, we can do:
if (command is erase)
accept erase response codes
else
treat erase response codes as transmission errors
Should be no problem...
regards
i. A. Wolfgang Mües
--
Auerswald GmbH & Co. KG
Hardware Development
Telefon: +49 (0)5306 9219 0
Telefax: +49 (0)5306 9219 94
E-Mail: Wolfgang.Mues@...rswald.de
Web: http://www.auerswald.de
--------------------------------------------------------------
Auerswald GmbH & Co. KG, Vor den Grashöfen 1, 38162 Cremlingen
Registriert beim AG Braunschweig HRA 13289
p.h.G Auerswald Geschäftsführungsges. mbH
Registriert beim AG Braunschweig HRB 7463
Geschäftsführer: Dipl-Ing. Gerhard Auerswald
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists