Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2430395rdd; Fri, 12 Jan 2024 09:08:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IHr2ETOTv1aFEDPmYsCnvjV1Spa5kSi+/ZlD4tvMuPDuWpySr11cJAKzURvijIWLH173cdu X-Received: by 2002:a17:906:2692:b0:a28:b71d:5e3a with SMTP id t18-20020a170906269200b00a28b71d5e3amr908465ejc.67.1705079310127; Fri, 12 Jan 2024 09:08:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705079310; cv=none; d=google.com; s=arc-20160816; b=HGwfvKUBvDpNp/tggyqF1Rwv5NBwZMYkgubBphSJuM5SIs3p/91IJFT2xwsRiMr4r+ 6mjaF7P3HC8lrPcHTNrx9XSJUPknK6UbnRNoUUo2r04xbrmVTEwLeQ0G0WRIgx1O3mna sZYnjINo1oofzi3w01MuYaRvw0VjfULOkKe2X99DsY4WZeuvGadA1XkmrGSLDUmwmOs7 nybpMu/QiSfDdvAIYoBCVGUf8p/sXSH03M3V8uw6JKuS65U2syXd9aPhn1TTTLeAYzws 2kVD7EswIJe4sYUQiJpAGXsFFeZqT8bNhF6taZ5nP3XcirydDBZ8JbiQZmwH5HqN7f/B t7uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=Ol2hmT7MuGJUG60CjAkwQYDRKt6/2o5Bp67qJvYhzD8=; fh=uXa+49X1SacsYKB4+QCeZdt3nZ25R5Tst/RxabpYf7g=; b=x8chM4I5tW05BBjRcioyNbvIG58135El8RhVjQCh1O1u0YIN/AvHRfWGo0ZzQgCYfL Nx1W2VRuR2kKmj4T0uQXnWTaAGbdqiN/1IfUfsk0qplmW42JpHp5DZZsdc8nNe6pBp2W rFCXNFqd43lkVzz0a4hZWd4y10WIXzYKtVHXKRKQ/Tl8Jdl1ctzcjUmjHx0kGlDlutTI P6z+k6u/lcFhCykkzE+f5Ab7PGWMwu9VqlPP/+Vjj6dJkz9e6O8RjmNyFYsV+3+NLEUW UBwS2jPq+Ocz7vPCJ7z5MgzDPADSFGQhMyEOIWg88pnvK3K+RTHujKAVW1boYtMxGRbO d8Gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fRVpXWqf; spf=pass (google.com: domain of linux-kernel+bounces-24889-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24889-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id s2-20020a170906354200b00a2bebd581c0si1560843eja.697.2024.01.12.09.08.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 09:08:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24889-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fRVpXWqf; spf=pass (google.com: domain of linux-kernel+bounces-24889-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24889-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id DD5551F23415 for ; Fri, 12 Jan 2024 17:08:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DEAFD175B7; Fri, 12 Jan 2024 17:08:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fRVpXWqf" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 0DAAF1B5A9; Fri, 12 Jan 2024 17:08:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8EFB1C433F1; Fri, 12 Jan 2024 17:08:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705079297; bh=sE1TCe80xpKNIxZm8GXM9fLcVkdAEX6Fc2Z2vgDhElE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=fRVpXWqf2aJoqxFaPcC1R/GyqHT2YPwwGsRWgDYpzhmMgdGZFpjWwbLFWPOax0zm/ VSJoaHnAemwwPl1vsNnoTON0lJfGtVHQ0UK+YpnR4qBAwS7OXZdp2nIssn4qlN8BH4 QiypiMwBewbX5T+eHf09P3XzL7Fb+rcLUOXV1c7FC9eZU0i05tNe8Fe1F9zVhYwOBu KtBjyXP2C1AMrvKkwJUCoZmTzRAhfefsAQIhYcqRWK/JBk7JMcBAEYMZl7nYmAVuxg t3yuDgB7Kp+LHqBmH/wFPMzGeIXa28npbPi52xs6/WQpTmd8/JH6xPQRI7UscTkFNf iw8gIfpvYEUiA== Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-2cd7e429429so35774721fa.1; Fri, 12 Jan 2024 09:08:17 -0800 (PST) X-Gm-Message-State: AOJu0YzAZLTUoELgRxHU3+d3D2VP1pWsp1YntgxYHairS//G87qsraFx GPOLhaOnCFrZrlnEnfmIbH4u3C6EyG24+nAfhCs= X-Received: by 2002:a05:6512:74:b0:50e:69df:b067 with SMTP id i20-20020a056512007400b0050e69dfb067mr767864lfo.11.1705079295776; Fri, 12 Jan 2024 09:08:15 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231214222107.2016042-1-song@kernel.org> <20231214222107.2016042-2-song@kernel.org> In-Reply-To: From: Song Liu Date: Fri, 12 Jan 2024 09:08:04 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/3] md: Remove deprecated CONFIG_MD_LINEAR To: Geert Uytterhoeven Cc: linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Christoph Hellwig , Jens Axboe , Neil Brown , Guoqing Jiang , Mateusz Grzonka , Jes Sorensen Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Geert, On Fri, Jan 12, 2024 at 1:28=E2=80=AFAM Geert Uytterhoeven wrote: > [...] > > > --- a/drivers/md/Kconfig > > +++ b/drivers/md/Kconfig > > @@ -61,19 +61,6 @@ config MD_BITMAP_FILE > > various kernel APIs and can only work with files on a file sy= stem not > > actually sitting on the MD device. > > > > -config MD_LINEAR > > - tristate "Linear (append) mode (deprecated)" > > - depends on BLK_DEV_MD > > - help > > - If you say Y here, then your multiple devices driver will be = able to > > - use the so-called linear mode, i.e. it will combine the hard = disk > > - partitions by simply appending one to the other. > > - > > - To compile this as a module, choose M here: the module > > - will be called linear. > > - > > - If unsure, say Y. > > - > > Is this what you need to recover data from disks salvaged from a > commercial NAS configured in JBOD mode? > If yes, and there is no better way to do that, you probably do not > want to drop this support. Actual NAS systems running Linux might > use this as well. Thanks for the heads-up. I honestly don't know about this use case. Where can I find/get more information about it? Thanks, Song