Skip to content

UBI reliability improvements

Artem Bityutskiy linux-mtd 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 of 13 patches 1 replyIn review

9 of 13 patches are in this archive. The cover letter announces 13.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13mtd: nand_nase: do not cache pages with uncorrectable ECC errorsdrivers/mtd/nand/nand_base.c+2 -10 replies
2/13UBI: fix small 80 characters limit style issuedrivers/mtd/ubi/build.c+2 -20 replies
3/13UBI: rename IO error codedrivers/mtd/ubi/eba.c drivers/mtd/ubi/io.c drivers/mtd/ubi/scan.c +2 more+30 -240 replies
4/13UBI: remove duplicate IO error codesdrivers/mtd/ubi/io.c drivers/mtd/ubi/scan.c drivers/mtd/ubi/ubi.h +1 more+13 -480 replies
5/13UBI: handle bit-flips when no header founddrivers/mtd/ubi/io.c drivers/mtd/ubi/scan.c drivers/mtd/ubi/ubi.h +1 more+51 -270 replies
6/13UBI: rename a local variabledrivers/mtd/ubi/scan.c+7 -70 replies
7/13UBI: change cascade of ifs to switch statementsdrivers/mtd/ubi/scan.c+32 -130 replies
8/13UBI: separate out corrupted listdrivers/mtd/ubi/scan.c+34 -110 replies
9/13UBI: do not put eraseblocks to the corrupted list unnecessarilydrivers/mtd/ubi/scan.c drivers/mtd/ubi/scan.h drivers/mtd/ubi/vtbl.c+87 -710 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/13] UBI reliability improvements

Hi,

here is a set of patches which should improve UBI reliability. I wrote them during my trip to LinuxCon Brazil.

Patches 1-5 should be interesting for Matthieu CASTET - they improve -EUCLEAN errors handling a little.

Patches 6-13 should be interesting for Matthew L. Creech - they presimably have to help in catching why in his setup UBIFS refers unmapped LEB. I'm not sure they will help, but there is a chance - my theory is that UBI decides that the LEB is corrupted and wipes it. With this patch-set UBI should instead preserve corrupted LEBs, so we could take a look what happened.

Please, reveiw, test. I tested them a little as well, but not extensively.

Artem.