Re: [PATCH] Documentation: fix wrong value in md.txt

From: Jonathan Corbet
Date: Thu Jun 23 2016 - 10:09:00 EST


On Fri, 17 Jun 2016 09:40:02 +0800 (CST)
"Tiezhu Yang" <kernelpatch@xxxxxxx> wrote:

> I read drivers/md/raid5.c and find the following related code:
> 1) in function 'raid5_set_cache_size':
> if (size <= 16 || size > 32768)
> return -EINVAL;
> 2) #define NR_STRIPES 256
>
> So the lower limit value of stripe_cache_size should be 17 and
> the default value should be 256.

Applied to the docs tree, thanks.

jon