Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5683752imu; Sun, 2 Dec 2018 00:52:27 -0800 (PST) X-Google-Smtp-Source: AFSGD/Xkfjl0ZLzk6j2IUYOPt3EGPu+q9xPd53XwfeiDXvhgxRHMKS8jSXyT7pBY1gj3UIX7lPUu X-Received: by 2002:a17:902:8607:: with SMTP id f7mr11423381plo.123.1543740747120; Sun, 02 Dec 2018 00:52:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543740747; cv=none; d=google.com; s=arc-20160816; b=k0VzNI6P9th70cPCHo2I5CStRt24oYYYEno01uPEfp8Jzeh/FanqMCAF1+ivBCUw6E 1LYVmNVZjwC4Bm1grXpFmgWnwr2L0fVI1N61iSu34Ij5PGWynkF7udY79nW15G1egfe8 F1iBfOVgWWfZLsR9vZFdnlgWgGeatgQrrrr7M6R8WLfnnBvdpeqMyfcuPPrn8j6+ecDn 9ctac/D35GqahAessdAFFgceV/9ypzHJ0CMv97T6cXDmgkJjmTE35wcyqpivXuLEEiYX zvX3WVUfLvqNYrFdAno3U+XJw/Pshe4mVMn0uD7j/RJjXxl8izwabIVl1YxCZRfkEuOr 62AQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=GoIryz55/IsAsKw8afIUbLXPEi9EhTk0Zi/99YI0D70=; b=QN/PoYswrg74vJs3SPOzG54I1nbJdK4T3shq5X/FOPzGnX3bfNZi87YOX5D3WNFDZV 2r6wSJ5Gwy+OO4RAM0LLU0u9bnEhuI0/hNB6MN7rJV4gjXw3wykAyfvmprKDg/XrnVe/ SyyDRHdQkQSBSsnllMLR1+pa5SK/qEx1t35q3ZJxT9g8MAv2jv01v/GlxV+5rWuIu7G3 enmK8oqdLdzFHMyXk2xBEBgmsldtdSSCaqmdiy60QE5qIg03vQxjreb8dX8hWSrZDuGE AEQDmp/aD1BSKjjfpQW6g5i4yOkeoQqAtUEyaXcUdmsC5N9kRS/ua8BLaUVr4aqpuWM8 7tbA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i96si10856295plb.188.2018.12.02.00.52.12; Sun, 02 Dec 2018 00:52:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725802AbeLBIvm (ORCPT + 99 others); Sun, 2 Dec 2018 03:51:42 -0500 Received: from lithops.sigma-star.at ([195.201.40.130]:59276 "EHLO lithops.sigma-star.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725771AbeLBIvl (ORCPT ); Sun, 2 Dec 2018 03:51:41 -0500 Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 34869607BD8A; Sun, 2 Dec 2018 09:51:36 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id j-tSn2askJu9; Sun, 2 Dec 2018 09:51:35 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id C3F6D607BD9A; Sun, 2 Dec 2018 09:51:35 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id NcuQ0ND0WUNk; Sun, 2 Dec 2018 09:51:35 +0100 (CET) Received: from blindfold.localnet (213-47-184-186.cable.dynamic.surfer.at [213.47.184.186]) by lithops.sigma-star.at (Postfix) with ESMTPSA id 46C46607BD8A; Sun, 2 Dec 2018 09:51:35 +0100 (CET) From: Richard Weinberger To: Greg KH Cc: Martin Kepplinger , stable@vger.kernel.org, dedekind1@gmail.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Sudip Mukherjee , Juergen Subject: Re: [PATCH] ubi: fastmap: Check each mapping only once Date: Sun, 02 Dec 2018 09:51:34 +0100 Message-ID: <1676802.TThbbZSlzy@blindfold> In-Reply-To: <20181129080923.GE13859@kroah.com> References: <20181126103842.3249-1-martin.kepplinger@ginzinger.com> <20181129080923.GE13859@kroah.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Greg, Am Donnerstag, 29. November 2018, 09:09:23 CET schrieb Greg KH: > On Mon, Nov 26, 2018 at 11:38:42AM +0100, Martin Kepplinger wrote: > > From: Richard Weinberger > > > > [ Upstream commit 34653fd8c46e771585fce5975e4243f8fd401914 ] > > > > This commit got merged along with commit 781932375ffc > > ("ubi: fastmap: Correctly handle interrupted erasures in EBA") upstream but > > only the latter has been applied to stable v4.14.54 as commit a23cf10d9abb. > > This resulted in a performance regression. Startup on i.MX platforms is > > delayed for up to a few seconds depending on the platform. > > This fixes ubi fastmap to be of the same performance as it has been before > > said fastmap changes. > > > > Fixes: a23cf10d9abb ("ubi: fastmap: Correctly handle interrupted erasures in EBA") > > Signed-off-by: Richard Weinberger > > Signed-off-by: Martin Kepplinger > > --- > > > > Richard, although this fixes a major slowdown regression in -stable, do you > > consider this "stable" too? > > > > This applies and is tested only for the 4.14 stable tree. It seems to be > > equally relevant for 4.9 and 4.4 though. > > Now queued up for 4.14.y, thanks. can you *please* slow a little down? There are times (e.g. when I travel, visit customers on-site, being sick, etc...) where I don't have the resources to monitor the mailinglists in detail. Adding patches to stable on shout asks for trouble. As Sudip points out, this patch needs a further fix patch: 25677478474a ("ubi: Initialize Fastmap checkmapping correctly") Thanks, //richard