From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751159AbcFWOI6 (ORCPT ); Thu, 23 Jun 2016 10:08:58 -0400 Received: from tex.lwn.net ([70.33.254.29]:43516 "EHLO vena.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750890AbcFWOI4 (ORCPT ); Thu, 23 Jun 2016 10:08:56 -0400 Date: Thu, 23 Jun 2016 08:08:54 -0600 From: Jonathan Corbet To: "Tiezhu Yang" Cc: shli@kernel.org, linux-doc@vger.kernel.org, linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Documentation: fix wrong value in md.txt Message-ID: <20160623080854.08bf0d4f@lwn.net> In-Reply-To: <2b0cf4c2.21fa.1555c03d3e9.Coremail.kernelpatch@126.com> References: <2b0cf4c2.21fa.1555c03d3e9.Coremail.kernelpatch@126.com> Organization: LWN.net X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 17 Jun 2016 09:40:02 +0800 (CST) "Tiezhu Yang" 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