[PATCH/RFC] MTD: Striping layer core

Alexander Belyakov alexander.belyakov at intel.com
Fri Mar 31 03:17:47 EST 2006


Artem B. Bityutskiy wrote:
> Artem B. Bityutskiy wrote:
>> Good question. I think you could report this is a striped device 
>> (introducing an MTD_STRIPED option). Also you may provide a 
>> stripe_get_info(struct mtd_info *mtd) function which will return a 
>> struct stripe_info object describing this striped device, including 
>> the components it consists of.
> Err, and I believe you *have to* report mtd type as MTD_STRIPED.
>

In that case clients should be aware of using striped devices and 
provide special support for them. The one of the ideas of the suggested 
solution is to hide striping internals from the client providing generic 
mtd device (just with somewhat increased performance).

Alexander Belyakov




More information about the linux-mtd mailing list