Re: [PATCH 1/4] md: Factor out RAID6 algorithms into lib/

Dan Williams
2009-07-15T19:23:47Z

On Mon, Jul 13, 2009 at 7:11 AM, David Woodhouse<dwmw2@infradead.org> wrote:
> We'll want to use these in btrfs too.
>
> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

Do you suspect that btrfs will also want to perform these operations
asynchronously? I am preparing an updated release of the raid6
offload patch kit, but the previous WIP release can be browsed at:

http://git.kernel.org/?p=linux/kernel/git/djbw/async_tx.git;a=shortlog;h=raid6

The routines are housed in crypto/async_tx/async_pq.c and
crypto/async_tx/async_raid6_recov.c.

I also wonder if the raid6 algos are a better fit under crypto/ alongside xor?

--
Dan