ubi-utils: add possibility to flag a static volume to skip CRC check when opening
Status from this message: Applied to mtd-utils.git master.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 5 repliesApplied
- v11 patch 1 replySuperseded
Changes in v2 from the cover letter
- fix a few typos,
- split big patch in several patches,
- add comment in ubinize for parsing vol_flags (very simple implementation based on autoresize and skip-check flags (the only supported flags to date) to be incompatible),
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | UBI: update ubi-user.h and ubi-media.hinclude/ include/ | +20 | 1 reply | |
| 2/4 | libubi: add volume flags to ubi_mkvol_requestinclude/ lib/ | +3 | 1 reply | |
| 3/4 | ubi-utils: ubimkvol: add support for skipping CRC check of a static volume when openingubi-utils/ | +16 | 1 reply | |
| 4/4 | ubi-utils: ubinize: add support for skipping CRC check of a static volume when openingubi-utils/ | +16 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Boris Brezillon |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/4] ubi-utils: add possibility to flag a static volume to skip CRC check when opening
Some users of static UBI volumes implement their own integrity check, thus making the volume CRC check done at open time by the kernel 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.
This patch adds the CRC check skip flagging of a volume to ubinize and ubimkvol.
This patch series requires the following patches in the Linux kernel to work:
https://lkml.org/lkml/2018/6/28/138 ("ubi: add possibility to skip CRC check for static UBI volumes")
Thanks,
Quentin
v2:
- fix a few typos,
- split big patch in several patches,
- add comment in ubinize for parsing vol_flags (very simple implementation based on autoresize and skip-check flags (the only supported flags to date) to be incompatible),
Quentin Schulz (4):
UBI: update ubi-user.h and ubi-media.h
libubi: add volume flags to ubi_mkvol_request
ubi-utils: ubimkvol: add support for skipping CRC check of a static
volume when opening
ubi-utils: ubinize: add support for skipping CRC check of a static
volume when opening
include/libubi.h | 2 ++ include/mtd/ubi-media.h | 6 ++++++ include/mtd/ubi-user.h | 16 ++++++++++++++-- lib/libubi.c | 1 + ubi-utils/ubimkvol.c | 19 ++++++++++++++++--- ubi-utils/ubinize.c | 16 ++++++++++++++++ 6 files changed, 55 insertions(+), 5 deletions(-)
Signature · 1 line
2.14.1