Grow: fix typo in comment
Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
parent
56fcbcbb6f
commit
caf9ac0ca4
2
Grow.c
2
Grow.c
|
@ -2540,7 +2540,7 @@ static void update_cache_size(char *container, struct mdinfo *sra,
|
|||
/* make sure there is room for 'blocks' with a bit to spare */
|
||||
if (cache < 16 + blocks / disks)
|
||||
cache = 16 + blocks / disks;
|
||||
cache /= (4096/512); /* Covert from sectors to pages */
|
||||
cache /= (4096/512); /* Convert from sectors to pages */
|
||||
|
||||
if (sra->cache_size < cache)
|
||||
subarray_set_num(container, sra, "stripe_cache_size",
|
||||
|
|
Loading…
Reference in New Issue