summaryrefslogtreecommitdiff
path: root/drivers/md/raid5.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-06-01 19:37:24 +1000
committerNeilBrown <neilb@suse.de>2010-07-21 13:28:15 +1000
commitc41d4ac40df0d01bf9c383ff28f194d1df2d4fd9 (patch)
tree0e22b3cc5e211a3f7dd4b6dea69d2afc1a173543 /drivers/md/raid5.h
parent00bcb4ac7ee7e557a491b614219142cea0ef16f4 (diff)
md/raid5: factor out code for changing size of stripe cache.
Separate the actual 'change' code from the sysfs interface so that it can eventually be called internally. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid5.h')
-rw-r--r--drivers/md/raid5.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/raid5.h b/drivers/md/raid5.h
index 0f86f5e36724..cbdbc77695b3 100644
--- a/drivers/md/raid5.h
+++ b/drivers/md/raid5.h
@@ -497,4 +497,5 @@ static inline int algorithm_is_DDF(int layout)
{
return layout >= 8 && layout <= 10;
}
+extern int raid5_set_cache_size(mddev_t *mddev, int size);
#endif