-
- Downloads
[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>
Showing
- drivers/md/Kconfig 12 additions, 26 deletionsdrivers/md/Kconfig
- drivers/md/Makefile 2 additions, 3 deletionsdrivers/md/Makefile
- drivers/md/raid5.c 1039 additions, 122 deletionsdrivers/md/raid5.c
- drivers/md/raid6main.c 0 additions, 2427 deletionsdrivers/md/raid6main.c
- include/linux/raid/raid5.h 1 addition, 0 deletionsinclude/linux/raid/raid5.h
Loading
Please register or sign in to comment