[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.54081a233a7b9efc0fa933bdba97c73c85b20059.1530099128.git-series.quentin.schulz@bootlin.com>
Date: Wed, 27 Jun 2018 13:33:18 +0200
From: Quentin Schulz <quentin.schulz@...tlin.com>
To: dedekind1@...il.com, richard@....at, dwmw2@...radead.org,
computersforpeace@...il.com, boris.brezillon@...tlin.com,
marek.vasut@...il.com
Cc: linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org,
thomas.petazzoni@...tlin.com,
Quentin Schulz <quentin.schulz@...tlin.com>
Subject: [PATCH v2 0/2] add possibility to skip CRC check for static UBI volumes
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.
Patches for mtd-utils will be available as well.
Thanks,
Quentin
v2:
- use volume flags instead of arguments on the kernel command line as
suggested by Richard,
Quentin Schulz (2):
ubi: provide a way to skip CRC checks
ubi: expose the volume CRC check skip flag
drivers/mtd/ubi/cdev.c | 4 ++++
drivers/mtd/ubi/kapi.c | 2 +-
drivers/mtd/ubi/ubi-media.h | 6 ++++++
drivers/mtd/ubi/ubi.h | 4 ++++
drivers/mtd/ubi/vmt.c | 12 ++++++++++++
drivers/mtd/ubi/vtbl.c | 3 +++
include/uapi/mtd/ubi-user.h | 16 ++++++++++++++--
7 files changed, 44 insertions(+), 3 deletions(-)
base-commit: 6dfa2c9bfb5f4b33861de2d8ea9c58086ce17215
--
git-series 0.9.1
Powered by blists - more mailing lists