diff options
author | NeilBrown <neilb@suse.de> | 2010-06-01 19:37:24 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-07-21 13:28:15 +1000 |
commit | c41d4ac40df0d01bf9c383ff28f194d1df2d4fd9 (patch) | |
tree | 0e22b3cc5e211a3f7dd4b6dea69d2afc1a173543 /drivers/md/raid5.h | |
parent | 00bcb4ac7ee7e557a491b614219142cea0ef16f4 (diff) | |
download | kernel_samsung_espresso10-c41d4ac40df0d01bf9c383ff28f194d1df2d4fd9.zip kernel_samsung_espresso10-c41d4ac40df0d01bf9c383ff28f194d1df2d4fd9.tar.gz kernel_samsung_espresso10-c41d4ac40df0d01bf9c383ff28f194d1df2d4fd9.tar.bz2 |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/raid5.h b/drivers/md/raid5.h index 0f86f5e..cbdbc77 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 |