]> err.no Git - linux-2.6/commit
[PATCH] md: tidy up raid5/6 hash table code
authorNeilBrown <neilb@suse.de>
Fri, 6 Jan 2006 08:20:33 +0000 (00:20 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:34:06 +0000 (08:34 -0800)
commitfccddba060f2b4916a30aa27acc3d03b01bb981e
tree92fbb81ab3b1fdbbe8de9ba2ebb91ac68c57b2a0
parent9ffae0cf3ea02f75d163922accfd3e592d87adde
[PATCH] md: tidy up raid5/6 hash table code

- replace open-coded hash chain with hlist macros

- Fix hash-table size at one page - it is already quite generous, so there
  will never be a need to use multiple pages, so no need for __get_free_pages

No functional change.

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/raid5.c
drivers/md/raid6main.c
include/linux/raid/raid5.h