commit | 5036805be7b815eb18dcce489d974f3aee4f3841 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Mon Dec 12 02:39:17 2005 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Mon Dec 12 09:06:04 2005 -0800 |
tree | 3d112acbe459fafee17f41cb634e483080b48607 | |
parent | 3795bb0fc52fe2af2749f3ad2185cb9c90871ef8 [diff] |
[PATCH] md: use correct size of raid5 stripe cache when measuring how full it is The raid5 stripe cache was recently changed from fixed size (NR_STRIPES) to variable size (conf->max_nr_stripes). However there are two places that still use the constant and as a result, reducing the size of the stripe cache can result in a deadlock. Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>