[PATCH][MTD][NAND]Bad Block Management

David Woodhouse dwmw2 at infradead.org
Wed Aug 27 12:31:06 EDT 2008

On Wed, 2008-08-27 at 12:59 +0200, Frans Meulenbroeks wrote:
> Wrt the device wise approach: I think I would prefer if I could say
> per partition if I wanted to use this (and thus have the mapping done
> per partition). That way filesystems that do their own bad block
> handling can do it the way they want to.Now it seems a little bit
> double work to have bad block handling in both the filesystem and in
> the mtd layer.

I don't believe it lives in the low-level MTD drivers. The _users_ (file
system code, translation layers, etc.) of devices should handle this as
they see fit (although we can provide _library_ code for them to use if
they want to). I don't think it lives in the NAND driver though.

David Woodhouse                            Open Source Technology Centre
David.Woodhouse at intel.com                              Intel Corporation

More information about the linux-mtd mailing list