Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763471AbZD3Ww0 (ORCPT ); Thu, 30 Apr 2009 18:52:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756738AbZD3WwR (ORCPT ); Thu, 30 Apr 2009 18:52:17 -0400 Received: from lazybastard.de ([212.112.238.170]:51328 "EHLO longford.logfs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753536AbZD3WwQ (ORCPT ); Thu, 30 Apr 2009 18:52:16 -0400 Date: Fri, 1 May 2009 00:51:53 +0200 From: =?utf-8?B?SsO2cm4=?= Engel To: Artem Bityutskiy Cc: Jared Hulbert , Linus Torvalds , Szabolcs Szakacsits , Alan Cox , Grant Grundler , Linux IDE mailing list , LKML , Jens Axboe , Arjan van de Ven , David Woodhouse Subject: Re: Implementing NVMHCI... Message-ID: <20090430225153.GA14784@logfs.org> References: <20090412091228.GA29937@elte.hu> <6934efce0904141052j3d4f87cey9fc4b802303aa73b@mail.gmail.com> <1239777470.3390.164.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1239777470.3390.164.camel@localhost.localdomain> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1678 Lines: 38 On Wed, 15 April 2009 09:37:50 +0300, Artem Bityutskiy wrote: > > I briefly glanced at the doc, and it does not look like this is an > interface to expose raw NAND. E.g., I could not find "erase" operation. > I could not find information about bad eraseblocks. > > It looks like it is not about raw NANDs. May be about "managed" NANDs. I'm not sure whether your distinction is exactly valid anymore. "raw NAND" used to mean two things. 1) A single chip of silicon without additional hardware. 2) NAND without FTL. Traditionally the FTL was implemented either in software or in a constroller chip. So you could not get "cooked" flash as in FTL without "cooked" flash as in extra hardware. Today you can, which makes "raw NAND" a less useful term. And I'm not sure what to think about flash chips with the (likely crappy) FTL inside either. Not having to deal with bad blocks anymore is a bliss. Not having to deal with wear leveling anymore is a lie. Not knowing whether errors occurred and whether uncorrected data was left on the device or replaced with corrected data is a pain. But like it or not, the market seems to be moving in that direction. Which means we will have "block devices" that have all the interfaces of disks and behave much like flash - modulo the crap FTL. Jörn -- Courage is not the absence of fear, but rather the judgement that something else is more important than fear. -- Ambrose Redmoon -- 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/