]> err.no Git - linux-2.6/commit
[PATCH] md: merge raid5 and raid6 code
authorNeilBrown <neilb@suse.de>
Mon, 26 Jun 2006 07:27:38 +0000 (00:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:37 +0000 (09:58 -0700)
commit16a53ecc35f2a80dc285be2e769768847d89ca37
tree19d005f19af68e9b98efaf16885bb60498f540c1
parent16f17b39f385212b73278a76d482cdcaaebe6c02
[PATCH] md: merge raid5 and raid6 code

There is a lot of commonality between raid5.c and raid6main.c.  This patches
merges both into one module called raid456.  This saves a lot of code, and
paves the way for online raid5->raid6 migrations.

There is still duplication, e.g.  between handle_stripe5 and handle_stripe6.
This will probably be cleaned up later.

Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/Kconfig
drivers/md/Makefile
drivers/md/raid5.c
drivers/md/raid6main.c [deleted file]
include/linux/raid/raid5.h