From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Menzel Subject: Re: [PATCH v5 01/16] md/raid456: covert macro define of STRIPE_* as members of struct r5conf Date: Thu, 2 Jul 2020 20:23:00 +0200 Message-ID: <3bf71b7a-b457-c5e4-34df-bdea5cf2abc3@molgen.mpg.de> References: <20200702120628.777303-1-yuyufen@huawei.com> <20200702120628.777303-2-yuyufen@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: Content-Language: en-US Sender: linux-raid-owner@vger.kernel.org To: Song Liu , Yufen Yu Cc: linux-raid , NeilBrown , Guoqing Jiang , Hou Tao List-Id: linux-raid.ids Dear Yufen, Am 02.07.20 um 20:15 schrieb Song Liu: > On Thu, Jul 2, 2020 at 5:05 AM Yufen Yu wrote: >> >> We covert STRIPE_SIZE, STRIPE_SHIFT and STRIPE_SECTORS to stripe_size, >> stripe_shift and stripe_sectors as members of struct r5conf. Then each >> raid456 array can config different stripe_size. This patch is prepared >> for following configurable stripe_size. >> >> Simply replace word STRIPE_ with conf->stripe_ and add 'conf' argument >> for function stripe_hash_locks_hash() and r5_next_bio() to get stripe_size. >> After that, we initialize stripe_size into setup_conf(). >> >> Signed-off-by: Yufen Yu > > This patch looks good. Please fix the warning found by the kernel test bot. > Also a nitpick below. Please also fix the typo *covert* to *Convert* in the commit message summary, and maybe use *to* instead of *as*. > Convert macro define of STRIPE_* to members of struct r5conf […] Kind regards, Paul