Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp9084imm; Mon, 2 Jul 2018 06:51:14 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcCRzbHuTi1B9ZW5PnXZ92LuZdxgi6mvaB2g2gh+9IvvKJjp9zqc3YswCApHCNZ3Lx29VQb X-Received: by 2002:a17:902:82c3:: with SMTP id u3-v6mr19121262plz.83.1530539474433; Mon, 02 Jul 2018 06:51:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530539474; cv=none; d=google.com; s=arc-20160816; b=cQhJVPZavXlFTCGITvsZBSN9DoMtVH6g0atrSnTW1Gk7e0W0tT8Qr3A4Y6QeMAW4/W ODOoGXvhNU3f8s21De8UfCO7gl/tz3iAxlyTEIhKCNF3Vr+nt9BIP3KEoZ4X9mIw5O1e W1jtGWE84Mg3e9GRSVgEEQNFM8V1nbFDxm3aNYRGKUkmQYpO0OodA0SWtjuYmMD/BoOw H1Prwv1NCw4zk2aFIfok93rzVB/I99glSqTyQzq+pYp8rKqHTpeT2m5gMtAAGUne7s/I 9EP4LMycDkR0YuTb76FGzLQ6/XChDuQmYvMZ9wtDEtPnLfi6ZvcRKcbO89PtngBoRTBb q2tg== 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:date:cc:to:reply-to:from:subject:message-id :arc-authentication-results; bh=/9uKgZ3nteaIZ1I/nEasAN8z4LY7Zo6rMQye1FbQgqk=; b=0i+Wh7bDlkVRcwoFh5vE/OnfvO4FfHyzOscPCtDSVRhjsVxBqVcfXoSZhlshrQbgeQ 6H6ZC7C83AspmiCWa7PR5YSLNH3CmyNJuhsZ8FaNbe5Orgm99KZKWn8KRTSe+YAGmsqQ Hx7c/QaKFL0IaonG8ktv8gstmzJ9zh1lOpPIvFqUM0geGDG34pn/ZfADwWK9Ep5CLMa0 RjA1q66ZCBVlqFGvtaIanMsYzB1oIhBSDuFqmWK7km5cRqU7RwSAod5bKvZPBf18k6wO brh2f7ptAwMtLkSbki9Cx9s3MqU+9h5bFUgBRWcEkqMzMPSUu550AmAlRwJ9FTPST7bI va6w== 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; dmarc=fail (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 k185-v6si14510094pgd.15.2018.07.02.06.51.00; Mon, 02 Jul 2018 06:51:14 -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; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752458AbeGBNuI (ORCPT + 99 others); Mon, 2 Jul 2018 09:50:08 -0400 Received: from mga05.intel.com ([192.55.52.43]:29278 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752390AbeGBNuF (ORCPT ); Mon, 2 Jul 2018 09:50:05 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Jul 2018 06:50:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,299,1526367600"; d="scan'208";a="51434702" Received: from linux.intel.com ([10.54.29.200]) by fmsmga007.fm.intel.com with ESMTP; 02 Jul 2018 06:49:59 -0700 Received: from abityuts-desk.fi.intel.com (abityuts-desk.fi.intel.com [10.237.68.39]) by linux.intel.com (Postfix) with ESMTP id BA119580117; Mon, 2 Jul 2018 06:49:57 -0700 (PDT) Message-ID: <1530539396.469.98.camel@gmail.com> Subject: Re: [PATCH v5 0/2] ubi: add possibility to skip CRC check for static UBI volumes From: Artem Bityutskiy Reply-To: dedekind1@gmail.com To: Quentin Schulz , richard@nod.at, dwmw2@infradead.org, computersforpeace@gmail.com, boris.brezillon@bootlin.com, marek.vasut@gmail.com Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com Date: Mon, 02 Jul 2018 16:49:56 +0300 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 (3.26.6-1.fc27) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2018-07-02 at 11:43 +0200, Quentin Schulz wrote: > Some users of static UBI volumes implement their own integrity check, thus > making the volume CRC check done at open time useless. For instance, this > is the case when one use the ubiblock + dm-verity + squashfs combination, > where dm-verity already checks integrity of the block device but this time > at the block granularity instead of verifying the whole volume. > > Skipping this test drastically improves the boot-time. > > mtd-utils patches are already merged. See: > http://git.infradead.org/mtd-utils.git/commit/9095d213f536aec0f3c37f6666177f3b907afde7 > http://git.infradead.org/mtd-utils.git/commit/7b4a65a27d2621b58c634d02c6a068ed9562383c > http://git.infradead.org/mtd-utils.git/commit/5e9bc0daa41d84ce5de81c4a1665d65f51893c10 > http://git.infradead.org/mtd-utils.git/commit/8ba21ab75b41a1f9a6e27eed3ea80c9829669c5a For the whole patch-set, Reviewed-by: Artem Bityutskiy