From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5AB9AC433E2 for ; Sat, 12 Sep 2020 06:17:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F3F28208FE for ; Sat, 12 Sep 2020 06:17:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599891468; bh=uuS+Z49skG3lx+esbagnWe105drLTNKLOy8Ma2dzjMo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-ID:From; b=JN2anDAppQdndrfkkaFQbryxOQUUOU4G7dBfjOaWU+U9zbUwyuVcG3S9xwOqULAdv 9aBFfgNKBorRoXSeHRM4R4sdKEuHa6C95JvU35UWbawIuPxw7Grc5D5X/tG1CuxrN9 Uuf1O9uRqSU518O+4nvkDB5upVZM9/EfLQvkcM0c= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725844AbgILGRm (ORCPT ); Sat, 12 Sep 2020 02:17:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:46712 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725799AbgILGRl (ORCPT ); Sat, 12 Sep 2020 02:17:41 -0400 Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2BE2521D40; Sat, 12 Sep 2020 06:17:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599891461; bh=uuS+Z49skG3lx+esbagnWe105drLTNKLOy8Ma2dzjMo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=dZyDz7oUXmzrS2wbdCR1OjKcH7321NGa7jyxMDH4h/o9UFLTl0K1PPE+nTnMPNcaO pFhcF7zZNdVWBScpmda30k1PDw7hv27W+vep/NtOAu79ccmU1uTlmfOyQ7QIgiL3rv v+vZsGweGVfhdRtBDeOgxgmo0SHmfbkdHi6VqF9g= Received: by mail-lf1-f47.google.com with SMTP id y17so8017325lfa.8; Fri, 11 Sep 2020 23:17:41 -0700 (PDT) X-Gm-Message-State: AOAM533Ql6v51uDU3YdHitioOgdo8CtgbcSf653MiA+qLElLSOWVB32L Qfcwc/T12dP8aRHwLW/uPqUyTWRNSccGFwPSsj8= X-Google-Smtp-Source: ABdhPJxOiiANvrJ6fr7d6kLKZBhdGAMugfK2BYTTNlwkd2Y5yYk1Y7sPwQKbOfKHnZSoz9jAWmxnXjr56qyYcRtmpeU= X-Received: by 2002:a19:cc09:: with SMTP id c9mr1179259lfg.482.1599891459438; Fri, 11 Sep 2020 23:17:39 -0700 (PDT) MIME-Version: 1.0 References: <20200910144833.742260-1-hch@lst.de> <20200910144833.742260-6-hch@lst.de> In-Reply-To: <20200910144833.742260-6-hch@lst.de> From: Song Liu Date: Fri, 11 Sep 2020 23:17:28 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 05/12] md: update the optimal I/O size on reshape To: Christoph Hellwig Cc: Jens Axboe , Hans de Goede , Richard Weinberger , Minchan Kim , linux-mtd@lists.infradead.org, dm-devel@redhat.com, linux-block@vger.kernel.org, open list , drbd-dev@lists.linbit.com, linux-raid , Linux-Fsdevel , Linux-MM , cgroups@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-raid-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-raid@vger.kernel.org On Thu, Sep 10, 2020 at 7:48 AM Christoph Hellwig wrote: > > The raid5 and raid10 drivers currently update the read-ahead size, > but not the optimal I/O size on reshape. To prepare for deriving the > read-ahead size from the optimal I/O size make sure it is updated > as well. > > Signed-off-by: Christoph Hellwig Acked-by: Song Liu