Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1360610pxb; Tue, 17 Aug 2021 09:50:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzq0KOJ4/LksIYdXS7Pmg1CLeWYUidw/F4YVcfB5mY4UmhU5TsUxSzpbNDBPDS3a3U+dtP/ X-Received: by 2002:a02:cd2c:: with SMTP id h12mr3780396jaq.84.1629219028244; Tue, 17 Aug 2021 09:50:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629219028; cv=none; d=google.com; s=arc-20160816; b=PApkuX49epPEACfVaBsYkUyl/1TqWLmHNN9u7KXNLAxUncuWkkdNSDeEedzNvhY5yb NeuygOVpKKd3gqNhhLALHkYf8i9i30UrQ+UyynXMm6XGwqio5BGITZAs44V+HNw+wToc dJD+xval836V6eWA5H1Kb1kl1cMRs3uhPzH8A6aLQsdWR8U3Bo+Y9mt6K8pCh38sEYee 18Yr7SpIUTlzbvNQbG84HdgJzY8Dvp56IfexkQnIYAxYDNZKtWgCwk0GTk5/uRBPLtG8 oXGcX3N5T1VuPW+j2q/ogm3+srKasTum5n/gBxe8iysXMiQR7fzWZV3PjpMsGfKzh22D YFdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=WUAmeJLj/o3PGn/aPNFyU3fr9jtZIkG6yfxzG0958Hc=; b=lsVilC5Mxq2BEAWvh/4OYaXxtwQ1cb6pUiGrGv2Qm+gaPyKelP+85Z5trtWByHGXZb hzexL3CnN3m7qbiDCP3rAeSdJqNET1VNVRrs1roxtGOAFyY9niaUKmdxcWDejGjS/mGs PlEPGyY88zzmISbpuamjDMdJDDHGduasG0INXth/IhCGnU1Vr8bs5jQ3TXFjqfPn+98p ERJ3cVHAIBfGYH6fJx8YIjEDMQbx2Bittft7nfDATkK9i+gcNVCyXjHhB3EoouyE+Ie6 FFnU559Ai5epLcptSfi4fNbmVZAegX8/yMC1zrV8eehvaEtvQ3XGoySz8Znz88tP86ZJ +Y2A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c203si3329177iof.54.2021.08.17.09.50.13; Tue, 17 Aug 2021 09:50:28 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231301AbhHQQt4 convert rfc822-to-8bit (ORCPT + 99 others); Tue, 17 Aug 2021 12:49:56 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:10093 "EHLO relay1-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230325AbhHQQtw (ORCPT ); Tue, 17 Aug 2021 12:49:52 -0400 Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 5921B240008; Tue, 17 Aug 2021 16:49:14 +0000 (UTC) Date: Tue, 17 Aug 2021 18:49:13 +0200 From: Miquel Raynal To: Ezequiel Garcia Cc: Ezequiel Garcia , linux-mtd , Linux Kernel Mailing List , Richard Weinberger , Vignesh Raghavendra Subject: Re: [PATCH 3/3] mtdblock: Warn if the added for a NAND device Message-ID: <20210817184913.5162b242@xps13> In-Reply-To: References: <20210801234509.18774-8-ezequiel@collabora.com> <20210806200537.394260-1-miquel.raynal@bootlin.com> Organization: Bootlin X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ezequiel, Ezequiel Garcia wrote on Tue, 17 Aug 2021 13:27:54 -0300: > Bonjour Miquel, > > On Fri, 6 Aug 2021 at 17:05, Miquel Raynal wrote: > > > > On Sun, 2021-08-01 at 23:45:09 UTC, Ezequiel Garcia wrote: > > > There is a surprisingly large number of tutorials > > > that suggest using mtdblock to mount SquashFS filesystems > > > on flash devices, including NAND devices. > > > > > > This approach is suboptimal than using UBI. If the flash device > > > is NAND, this is specially true, due to wear leveling, bit-flips and > > > badblocks. In this case UBI is strongly preferred, so be nice to users > > > and print a warning suggesting to consider UBI block, if mtdblock > > > is added for a NAND device. > > > > > > Signed-off-by: Ezequiel Garcia > > > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks. > > > > Any chance you respin this one? > > It appears somehow this made its way to the patch: > "Untracked files not listed" sorry about that -- could you remove it? Yeah no problem about that, it happens ;) > While there, you can fix the typo in the commit title: > "mtdblock: Warn if the added for a NAND device" -> "mtdblock: Warn if > added for a NAND device" Done as well. Cheers! Miquèl