Re: [PATCH/RFC] MTD: Striping layer core

Alexander Belyakov
2006-03-31T08:18:34Z

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