[PATCH/RFC] MTD: Striping layer core

Artem B. Bityutskiy dedekind at infradead.org
Fri Mar 31 07:11:12 EST 2006


On Fri, 2006-03-31 at 13:59 +0200, Jörn Engel wrote:
> Whether the flash can mark things obsolete is a flash feature.  At
> least this is based on a flash feature.  So maybe we should rename it
> to MTD_CAN_FLIP_SINGLE_BITS or similar and then have

This is better then "can mark obsolete". At lease this does not depend
on application. But I still think that the number of features like is
unpredictable and large. If the number of bits in mtd->flags is not
enough, will you introduce mtd->flags1? This is not very generic
approach.

It is saner to accept the type-based decomposition IMO. Type defines the
set of features. Each application does know which set of features does
it want, so it wants which types can it use.

-- 
Best Regards,
Artem B. Bityutskiy,
St.-Petersburg, Russia.





More information about the linux-mtd mailing list