Re: Proposal: make RAID6 code optional

Bill Davidsen
2009-04-22T12:35:38Z

Goswin von Brederlow wrote:
> "H. Peter Anvin" <hpa@zytor.com> writes:
>
>
>> Bill Davidsen wrote:
>>
>>> It would seem that that space could be allocated and populated when
>>> raid6 was first used, as part of the initialization. I haven't looked at
>>> that code since it was new, so I might be optimistic about doing it that
>>> way.
>>>
>> We could use vmalloc() and generate the tables at initialization time.
>> However, having a separate module which exports the raid6 declaration
>> and uses the raid5 module as a subroutine library seems easier.
>>
>> -hpa
>>
>
> Combine the two.
>
> The raid6 module initializes the tables for raid6 and uses the raid5
> module as subroutine library.
>

My thought was that by saving almost all of the increased size of the
raid6 capability it greatly reduces the need to have yet another module.
It doesn't look as if the actual added code for raid6 is all that large.

--
bill davidsen <davidsen@tmr.com>
CTO TMR Associates, Inc

"You are disgraced professional losers. And by the way, give us our money back."
- Representative Earl Pomeroy, Democrat of North Dakota
on the A.I.G. executives who were paid bonuses after a federal bailout.