Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp344226imm; Tue, 19 Jun 2018 22:39:30 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKTIfTSuhFRns3onNbBj8XCR8evS6882Tp0pBP9rsXKt4JEvDCDjRHYMYYgape3kUjBe0rl X-Received: by 2002:a17:902:ab95:: with SMTP id f21-v6mr21585176plr.264.1529473170089; Tue, 19 Jun 2018 22:39:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529473170; cv=none; d=google.com; s=arc-20160816; b=O6r53tDe0s89+0Z1A9Mn0WJv5gSZOlDCbrhJJPfa76uOTfNhOzUBfgLH/SkDewfWTA mXUibb3oWSmnZifwJtoj8HkqwOPnjkXlpl9EQWJnT7e1A79mazTEZmswHCwWm/OH8poa uP/cQ/VrGftKMPLMJtTGJOA1VbBlt6TSrdDWhVbHGFksGEqMlIe7sUpgaa2TGUPp/L8N pPYT3XHzqwQsUkQctkn7fgLZCh9GRTgcJQOJnNwEiAGVHPQGcxWUilGzLSbMBfXFDEBX A17X/be+LD4wplgc+ZT+dbrBEZPtiE2o9cULdxeJ7DkEXtNXZxkT6icXQXPteuVtyPwr AD1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=bOJwD1M/0G3qWCAda8g7k4D9wDFaISizLW8dWZgbifk=; b=fikynz2570msN9A8yuqXmXmXuTRoE0dPBqN8XTETKSg9+BhT8a8j6hSBSgNTvEXRp9 KLJhHzD1H4lBmrSEAcKq2djkBuVdlRCD4C0y0Er0wUPYHo5D4STQ0UE3nhMEybOoGdpa U/RRwtF5dhwqYFclu7EPzHPx3AGs7vUPP/WStuLDNDAn+pa/nEWwg5MHxITnjckaT/3p EQXhXO/FR6sP4OtakRbzRGg1lWjpPFRhGrz9cuOFOUxce91rW4Adv5e0UaftEi2OZiZG 0sCMt4JyEx1u00cxS2zchqeYUwTY6jTfWZfxKjT0w3zpB+d+F6WtUXov7tIrBItXxcVM L49A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nAqBMlYa; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u21-v6si1534219pfd.78.2018.06.19.22.39.15; Tue, 19 Jun 2018 22:39:30 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nAqBMlYa; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751553AbeFTFii (ORCPT + 99 others); Wed, 20 Jun 2018 01:38:38 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:39121 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750852AbeFTFih (ORCPT ); Wed, 20 Jun 2018 01:38:37 -0400 Received: by mail-wm0-f68.google.com with SMTP id p11-v6so4324177wmc.4 for ; Tue, 19 Jun 2018 22:38:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=bOJwD1M/0G3qWCAda8g7k4D9wDFaISizLW8dWZgbifk=; b=nAqBMlYakjb6cjApRexSwfn8380uBd34YfO6NURI0v9O6YY09H9pScxV8Ydm0socM4 JmXVOwXzV4wzoGcPbHHTkFpXLmyp1QHz1entHUO4peHVxwSXtPaOx6PHo+W1xv3lfWwi RiA5U9rR1X9uM/KPRyA5O+FvbPdCuS76RnjZqIJxCvtyLio14Fg0MjmuGxtntexVAlbi AmoWimlYv2p4NDtgmqP2yseud/K28ET4MfEdxJLMhsR4OjBss6MsuE3mpdh4Qm46x7+L HJ7R+xVRUJi0HRl1Mhyo0cewb+EwrTk0RBZtJAY6uiELZAQ07N5s8DSnscxDc7CXqqip ea1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=bOJwD1M/0G3qWCAda8g7k4D9wDFaISizLW8dWZgbifk=; b=ey4w7ZdFmlgW5UBRFkjCNiZdbd4U7kkoegRFhONFmqtzW/DEQ/O7OX0tS1/HOi66qv A2MWQJPtqRjzUDRSMRoq2TKuvmmj8fZmldSK1eWBO4qFtaDOu2FYqtTfIWohaNIVZLrO 883/DdKme5bjqEVVD4quLd1QUMv3863l9L9ekJINwlyWKTdlx5rdbStJpiJVGRA0Grji LNl1gfspM0U1ZOIvTKKZCAYWQJY9X+wQw6R6p3GyiLO3ubl2ZjQGvlPbdEXKuIXa6Wvw 1Ac+F3jE7YgP5Tdo1JtIP5ucbWlUw8792w+/ylSwGYtwlCWGRCjXQn4gDo1QpNfJIG84 xZxg== X-Gm-Message-State: APt69E3Qxco/eH6i7smHV0X5XLVtnrKj63Jbe/oeT5oKlK3yXCTTH9Bw 8TOlzqWisJuk1EeQfCAVjVO0a4v0B+wDuwIdmfc= X-Received: by 2002:a1c:6fd3:: with SMTP id c80-v6mr446421wmi.151.1529473116003; Tue, 19 Jun 2018 22:38:36 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:adf:8271:0:0:0:0:0 with HTTP; Tue, 19 Jun 2018 22:38:35 -0700 (PDT) In-Reply-To: <1281343974.18398.13.camel@wall-e.seibold.net> References: <1281342353-18180-1-git-send-email-stefani@seibold.net> <1281343038.12908.25.camel@localhost> <1281343974.18398.13.camel@wall-e.seibold.net> From: Richard Weinberger Date: Wed, 20 Jun 2018 07:38:35 +0200 Message-ID: Subject: Re: [PATCH] Add quick erase format option To: Stefani Seibold Cc: David Woodhouse , Artem Bityutskiy , "akpm@linux-foundation.org" , "linux-mtd@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Artem Bityutskiy Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 9, 2010 at 10:52 AM, Stefani Seibold wrote: > Am Montag, den 09.08.2010, 09:37 +0100 schrieb David Woodhouse: >> On Mon, 2010-08-09 at 09:25 +0100, stefani@seibold.net wrote: >> > From: Stefani Seibold >> > >> > This patch add a quick format option which skips erasing of already erased >> > flash blocks. This is useful for first time production environments where >> > the flash arrived erased. >> > >> > Signed-off-by: Stefani Seibold >> >> This scares me, given the lengths we had to go to in JFFS2 to cope with >> blocks which *look* like they're erased, but which actually start losing >> data as soon as you start writing to them because the erase didn't >> complete. >> > > I know the drawback. This is why it is only an option which must be > enabled. And in most use cases there is a subsequent ubimkvol, which > will fail if the flash is not correct initialized. > > Flash are normally delivered erased. So this save in our production > environment (Nokia Siemens Networks) about 5 minutes per device (256 MB > NOR CFI Flash). > > The old JFFS2 was very fast to install the first time on a flash, it was > only a simple mount of the MTD partition. > > Which the quick format option i have now only a slightly first time > installation overhead compared to JFFS2. Without this option the > overhead is more than 5 minutes. This mail arrived now?! David, was it delayed by mailman for 8 years? -- Thanks, //richard