Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754027AbdC2UER (ORCPT ); Wed, 29 Mar 2017 16:04:17 -0400 Received: from b.ns.miles-group.at ([95.130.255.144]:44723 "EHLO radon.swed.at" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753976AbdC2UEG (ORCPT ); Wed, 29 Mar 2017 16:04:06 -0400 Subject: Re: [RFC][PATCH] UBI: Make MTD_UBI_FASTMAP non-experimental To: Jesper Nilsson , Artem Bityutskiy , David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Cyrille Pitchen , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org References: <20170329153836.GB29118@axis.com> From: Richard Weinberger Message-ID: <434195d8-d638-240d-8d63-50d033ea453a@nod.at> Date: Wed, 29 Mar 2017 22:04:00 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <20170329153836.GB29118@axis.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1102 Lines: 30 Jesper, Am 29.03.2017 um 17:38 schrieb Jesper Nilsson: > MTD_UBI_FASTMAP has been set as experimental since it > was merged back in 2012. > > There hasn't been much change in the format, > so we can consider the feature stable and start > being careful about breaking the format. > (This is somewhat of a pre-requisite for anyone actually > using the feature in the real world and depending on it) > > Drop the experimental note and the warning text about > the on-flash format not being finalized. I fully agree, we can drop this note. But we have to add another one. While Fastmap is a nice feature to speed-up the attach time it comes with a cost. It makes UBI less robust. I saw issues on NAND chips which misbehaved slightly where UBI was able to recover when using a full scan but not when Fastmap was used. The UBI full scan code is paranoid and can sort out problems very early, with Fastmap enabled you lose this valuable property. So, users should enable Fastmap only when they absolutely need a very fast attach time and be very sure that the NAND works as expected. Thanks, //richard