Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp411621rdh; Tue, 19 Dec 2023 02:47:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IFnX35NRSUYpYyRg/ZJ8oyrJ0JF7RaNxMzhHOE71kNacskdY9tdItb4lo07HLwHWsmEE/V0 X-Received: by 2002:a17:902:8bc5:b0:1cf:f506:c98e with SMTP id r5-20020a1709028bc500b001cff506c98emr14135257plo.16.1702982849730; Tue, 19 Dec 2023 02:47:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702982849; cv=none; d=google.com; s=arc-20160816; b=jrt4dgLr/NU9Wq79GKGSGZwBPEJJsUABu+crZRtcZ5IgNN1XiI8zM3mMnqkrlvsBz+ BD1sq4OS4eXKSbykyiUM8rvJntrGB+aeH11lKwyO0JZ9JJOYxOuut7DH8mDadV7joBhu TYCojrqxl0F1ysi6iwtHpLrd7kRnCmdHs5oL/85UjQUgYHlWGBBy0baGc5mXYDAJMN8A jgmLr6v735ssoU5COHJOe0yguYMHpvvDJuj1h0QLI9kyM7VTnhdd8rbFlB9Cv9I2roPu ystmLya2WnM87UFLXy3owXAoSkyxYwd6x7G8bj7xAXvyzwvJnvOHDKwPTlVVKtdLYT1r mwng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=huJKnFT1fUWL+Xrruc9EYHcavn2dIZ966k3dBgI5pJQ=; fh=gdsdIpuEN7nnBPO92DDwo1tAZbNSndUoRdlPi/0qXcg=; b=HraJFLrpSmMaFPPHQk8r+SAlzj3DsLhWDRvzfUzoBHmtgFxr2u6H9Be+uInKiSYWnw zqpuIxV9zkK88uMKJ3fwSC+fqSKz26s+02x5OQ7zifQ6v9IPQvsZDEaN0WOYKSs9QNr3 tgbu9UwOHPDb94gPl08Unp3DCWwYTZ21yNKRjh7V4kHjj1eQPRnrdnkSnsoAOJzffZ1H nQotq4qTMWqZtYQ6+I0gLE+HPcc190J3X+83FVMjou0pl2ycWogfPMVMPJQ9Ujh5xt6D 8J3EFimnrzzguyn+AkjIpuOEAJBtjr9Lmb9LIPbNl0DWgGvuzKp4JidqVE70qrqONqT2 dMuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=VlOeb6q7; spf=pass (google.com: domain of linux-kernel+bounces-5027-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5027-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id i18-20020a17090332d200b001d3e11d5cf4si612147plr.109.2023.12.19.02.47.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 02:47:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5027-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=VlOeb6q7; spf=pass (google.com: domain of linux-kernel+bounces-5027-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5027-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 8169EB223D2 for ; Tue, 19 Dec 2023 10:47:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8C4DD15AC9; Tue, 19 Dec 2023 10:46:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="VlOeb6q7" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3F560156EC; Tue, 19 Dec 2023 10:46:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702982806; x=1734518806; h=date:from:to:cc:subject:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=huJKnFT1fUWL+Xrruc9EYHcavn2dIZ966k3dBgI5pJQ=; b=VlOeb6q79L1faf18Txt5b1xHvYBV7xB62WlgDIUKSRzBdZHFIHH67SrE PFI5IwpyjN9FxQiZpoVTx/4Iy5H+hzawQHyI3WgDemmjAPQkDWez0YsCB hrjxJ2DzAUykTLYxeo8LQZL0nOj8+/IjOgwve5CELYyBRmkk6fBcmF3QY /myxC/k3WD7y2xpdHnpejYL6hlLRwXMcPelxtqYHdmEKf6oVwZIq0sOZW zeDHxLPs3UfnHdsde8zRKNE0AhNb1ujyigihAXhiC/4nvJb+eNJgfRY+D D58gM0WJ1MpgXJY+rg4RHFlpHVCwb+yfxvwReJRyrmPxuQs90gn21+6gA A==; X-IronPort-AV: E=McAfee;i="6600,9927,10928"; a="386064409" X-IronPort-AV: E=Sophos;i="6.04,288,1695711600"; d="scan'208";a="386064409" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Dec 2023 02:46:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10928"; a="725692427" X-IronPort-AV: E=Sophos;i="6.04,288,1695711600"; d="scan'208";a="725692427" Received: from mtkaczyk-mobl.ger.corp.intel.com (HELO localhost) ([10.237.142.133]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Dec 2023 02:46:43 -0800 Date: Tue, 19 Dec 2023 11:46:39 +0100 From: Mariusz Tkaczyk To: Song Liu Cc: linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Paul E Luse Subject: Re: [PATCH 0/3] md: Remove deprecated flavors Message-ID: <20231219114639.0000689d@linux.intel.com> In-Reply-To: References: <20231214222107.2016042-1-song@kernel.org> <20231215125059.00006270@linux.intel.com> <20231218093201.000020dd@linux.intel.com> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, 18 Dec 2023 08:11:53 -0800 Song Liu wrote: > Hi Mariusz, >=20 > On Mon, Dec 18, 2023 at 12:32=E2=80=AFAM Mariusz Tkaczyk > wrote: > > =20 > [...] > > > > > > > > Please note that there are mdadm tests for those levels. I can appr= ove > > > > it only when mdadm clean-up is merged. Our tests must pass > > > > continuously. =20 > > > > > > Is the continuous test result available publicly? =20 > > > > We are working on public CI (Paul owns it). On my side I'm not executin= g all > > tests, IMSM only. In this case it is obvious that mdadm tests will stop > > passing, I don't need results to see that. We should keep both mdadm an= d md > > compatible. We are continuously adding new MD regression tests to mdadm= (at > > least Kuai is doing that) so we should also care about removing things. > > =20 > > > =20 > > > > > > > > It is a nice code complexity improvement so let me know if you would > > > > like to get my help with mdadm patches. =20 > > > > > > On my local tests with mdadm, I need to make changes to the following > > > tests: > > > > > > 00linear... > > > 00names... > > > 00raid0... > > > 00readonly... > > > 02lineargrow... > > > 03r0assem... > > > 04r0update... > > > 04update-metadata... > > > > > > The changes are all straightforward (just remove things related to > > > linear/multipath/faulty). > > > =20 > > > > Please do not forgot remove dead code from mdadm. For example simple fi= nd > > "multipath" (case insensitive) reefers me to multiple places with speci= al > > handling for this level. We need to remove it from code and documentati= on. > > Can you handle this too? =20 >=20 > I think this is a bigger discussion: will mdadm stop supporting these > flavors on > older kernels? Say, mdadm-5.0+ (or a different number) will not support > multipath flavor on older kernels? >=20 Good point, I forgot that we are keeping backward compatibility with old kernels. Currently 3.10 is the lowest one supported so agree, we need to ke= ep this code. Thanks for clarifying! > > > > Oh and last one, I can't find update for md man in your changes. Could = you > > please remove those levels from md man? =20 >=20 > man side is easier. Once we know which major will have this set (6.8 or > later), we can update the man pages with the information. Understood! No further questions, please just remove tests and eventually add warning w= hen creating those levels in mdadm i.e "Linear/Multipath/Faulty are deprecated = and will be removed in next releases". Thanks, Mariusz