Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp2826469pxb; Fri, 8 Oct 2021 16:38:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzH3oqm2sNEDGVZDUvMPFZnjfVLq1fhbL300P4cYgGQVIuy069I+9PJiVxYH2HkwxujDObs X-Received: by 2002:a17:906:6403:: with SMTP id d3mr7798042ejm.37.1633736310169; Fri, 08 Oct 2021 16:38:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633736310; cv=none; d=google.com; s=arc-20160816; b=wSzAb6+7WzRjVt8JLA/GhIWGTsTJVy7+HFGAeouvfQ8RrHufSy354ewa94CZ9em+kw 7J3hYfL3wBh3kWhy5oVB1SYPQu8jEGB4RS4yJO+IOH7ZXzfA8Wf5TVRaqZTzUOEGDpdI oNHpolj8RQ0CggM31hgwDjPADjsTIYLIT6cnc3BJL6gI5sNxh/oT8kWo214e17c+TsYR AXB29p8zZ4yJW2TI9qjDOWmMbueEAxAOQKG5kay2pApzaSLGm2NN0lGbdNpztMQhq5WQ O677vDmaAQ5ZKnEe7xBlKep0Ymofy5t7a6EgAPwSa7Xyjv0sNmTRZthcBzNZYr2DCgaG moBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ygdbHNfiFjdQlGKHwLNaHKd7gBrfLHesNIj68BQojSg=; b=JvDeqdOhd0AoRQyZFFQ59uS5qiBvXL2HpcYILvRX76lFXxC1HX8NEZSjiVmkacAdaa VVzQVJvdaKXOcGVEHbjCBSfyWXwcqX73BkLoo4q79Qzmrq8W2v9yRoWvaPRAFlBy56Zx L61r3QgGEVtm7QLyDM6DJvk6BqDiFRU6c9n0IdMoDgeV3PzNQVYmA+gXTGGektKG9fxx N7PzAO0ZlQ2PsSzBd4gN1t3e58IZFEGHpgXk1yus7t0ZJL6hOw+iU3JeOux77IdsmjJr bFsBio1UCwMqgfdYfKZxBftM/nseXhFZnlk7TbN4w7N34/4o7rBevARE8zMgx6bnl1gW 8OtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O6I8oUld; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o18si949770edi.300.2021.10.08.16.38.06; Fri, 08 Oct 2021 16:38:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O6I8oUld; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243850AbhJHXhy (ORCPT + 99 others); Fri, 8 Oct 2021 19:37:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:33368 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243852AbhJHXhu (ORCPT ); Fri, 8 Oct 2021 19:37:50 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A3DCA60F5E; Fri, 8 Oct 2021 23:35:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633736154; bh=ygdbHNfiFjdQlGKHwLNaHKd7gBrfLHesNIj68BQojSg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=O6I8oUldcj4isurmMPyN8hYLGr14A7VVP2i06wxFwSkBhslSsAK6p6rTsgXxusJ5r WvBVIBIUp5S/RfQ1Lb3fFh/bGCj8xxkVgMmqRZMivWu8Wg7t6IOPrHOq8b7gnDFuQt +UaEfOEImQUSJx/Sf1kXgJyGZ/anRPiEYXLN8lUiM48rc+Ix/EEDVEofuvR5BcGHkx y5+CFxQ4m6EWkYY4u6yfydZj41Kl5KwwERfaumnX0U2WPYnOXq/Z7eKKfp+rnUt5vl AjiBJ4LYt7MO71RC34K8Jbn1EFWiqwqHxmsIaP8p3hSt6/LQqI6yYmf0IL9zacWLdt 7RVkfBCbyX/Iw== Received: by mail-lf1-f41.google.com with SMTP id u18so45111865lfd.12; Fri, 08 Oct 2021 16:35:54 -0700 (PDT) X-Gm-Message-State: AOAM533yKkZOrNITVoaV+PKulcnzoBeS1szcQsHYntEWmBVBirWhMEU7 zFL911nU8siR8/bQAw7pD+wb9YmnNZ83RKvWr1k= X-Received: by 2002:ac2:5182:: with SMTP id u2mr12805756lfi.676.1633736152894; Fri, 08 Oct 2021 16:35:52 -0700 (PDT) MIME-Version: 1.0 References: <20211008032231.1143467-1-fengli@smartx.com> In-Reply-To: <20211008032231.1143467-1-fengli@smartx.com> From: Song Liu Date: Fri, 8 Oct 2021 16:35:41 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH RESEND] md: allow to set the fail_fast on RAID1/RAID10 To: Li Feng Cc: "open list:SOFTWARE RAID (Multiple Disks) SUPPORT" , open list Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 7, 2021 at 8:22 PM Li Feng wrote: > > When the running RAID1/RAID10 need to be set with the fail_fast flag, > we have to remove each device from RAID and re-add it again with the > --fail_fast flag. > > Export the fail_fast flag to the userspace to support the read and > write. > > Signed-off-by: Li Feng Thanks for the patch! I applied it to md-next, with some changes in the commit log. Thanks, Song