lkml.org 
[lkml]   [2000]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Reorg raid5 block xor routines
On Mon, Sep 11, 2000 at 08:48:24AM -0700, Linus Torvalds wrote:
> - Please split this up the same way the checksums were split up:
> make the xor routine be an architecture-dependent library thing, with
> the "generic" slow one possibly just a regular library thing.

This is simple enough to do when compiling this code into the kernel,
but becomes much trickier when trying to load it as a module. I'll
spare your queasy stomach descriptions of the possible solutions that
I've thought of.

So, unless you have non-gross, non-fragile ideas, I only see two
acceptible solutions: (1) compile it in staticly, or (2) leave things
where they are.

I know you're not thrilled about nr 2, but the question is whether it
is acceptible to add 15k code on the chance that someone will want to
do raid5. At present all the distributions ship modular /dev/md,
since it has no appreciable impact until the personalities are loaded.



r~
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.131 / U:2.176 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site