]> git.baikalelectronics.ru Git - kernel.git/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)
commit57c9c65e6d0ca1b17892dd43aa61f9f2ef89e689
tree92fbb81ab3b1fdbbe8de9ba2ebb91ac68c57b2a0
parent1b668ca1c3cd37f66e35f608c9cf043ab500d304
[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