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

Artem B. Bityutskiy
2006-04-03T06:59:54Z

Thomas Gleixner wrote:
> Functions like concat or striping can only be used with FLASH of the
> same type. NAND and NOR are so fundamentally different it wont work
> without some ugly hack around. There is no point to even think about
> that.

Striping different flash type is an utterly insane perversion indeed.

But still, I imagine 2 MTD devices, one NAND, one NOR. Both can read and
write. We select the correct eraseblock size and the minimal I/O unit of
the resulting striped flash (probably much space will be wasted). We
direct writes to different threads in correspondence to the interleave
size. And this ugly monster should work in theory! :-)

So, conversely, this ugliness will work if all is done in a generic
manner and there are *no* ugly hacks! Funny :-) But anyway, let's drop
the subject.

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