From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.bootlin.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fTNFc-0000BY-Om for linux-mtd@lists.infradead.org; Thu, 14 Jun 2018 08:05:31 +0000 Date: Thu, 14 Jun 2018 10:04:36 +0200 From: Boris Brezillon To: Richard Weinberger Cc: Quentin Schulz , marek.vasut@gmail.com, dedekind1@gmail.com, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, thomas.petazzoni@bootlin.com, computersforpeace@gmail.com, dwmw2@infradead.org Subject: Re: [PATCH 2/2] ubi: introduce ubi.nocheck parameter to skip CRC check when attaching ubi vol Message-ID: <20180614100436.40741c67@bbrezillon> In-Reply-To: <1588647.N1yrutfcI7@blindfold> References: <95e04a201ac4ef82e68ce8e0c4f548b193e51b55.1524214122.git-series.quentin.schulz@bootlin.com> <2085970.qGmQXvoWho@blindfold> <20180611102037.n5kkdq4mcoixmvti@qschulz> <1588647.N1yrutfcI7@blindfold> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 14 Jun 2018 09:29:42 +0200 Richard Weinberger wrote: > Quentin, > > Am Montag, 11. Juni 2018, 12:20:37 CEST schrieb Quentin Schulz: > > If we go for a per-image flag, adding nocheck to the ioctl makes sense, > > otherwise we have to find a way to select only one or more volumes for > > which the nocheck flag should be set. That being said, I'm not sure a > > per-image flag is the way we want to go. > > > > What are your thoughts on this? > > I like that approach a lot more, please send a patch. :-) I don't think the approach you're talking about has been mentioned by Quentin in this email :-). To clarify the discussion, we're talking about adding a new flag to VTBL entries telling whether the CRC should be skipped or not. > Having a volume flag will reduce complexity a lot. That's my opinion as well.