Skip to content

UBIFS: fix recovery on CFI NOR

Artem Bityutskiy linux-mtd 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 0 repliesNew
  2. v25 patches 11 repliesSuperseded
  3. v16 of 7 patches 4 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7UBI: incorporate maximum write sizedrivers/mtd/ubi/build.c drivers/mtd/ubi/kapi.c drivers/mtd/ubi/ubi.h +1 more+37 -00 replies
2/7UBI: provide LEB offset informationdrivers/mtd/ubi/kapi.c include/linux/mtd/ubi.h+4 -00 replies
3/7UBIFS: incorporate maximum write sizefs/ubifs/super.c fs/ubifs/ubifs.h+24 -00 replies
4/7UBI: incorporate LEB offset informationfs/ubifs/super.c fs/ubifs/ubifs.h+4 -00 replies
5/7UBIFS: introduce write-buffer size fieldfs/ubifs/io.c fs/ubifs/ubifs.h+21 -90 replies
6/7UBIFS: use max_write_size for write-buffersfs/ubifs/io.c+137 -440 replies
7/7UBIFS: use max_write_size during recoveryfs/ubifs/recovery.c+10 -130 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/7] UBIFS: fix recovery on CFI NOR

Hi,

here is the third version of the patches. The differences to v2 are as follows.

1. UBI now exports the LEB start offset. UBIFS uses this to figure out whether the LEB starts at the max_write_size-aligned boundary or not.
2. The bugfix in recovery.c is included.

I've also pushed these patches to the master and linux-next branches of the ubifs-2.6.git tree, and the plan is to merge them upstream.

Note, the "mtd: cfi: fix writebufsize initialization" patch from Anatolij, which fixes mtd->writebufsize when there is interleaving and which is also necessary to fix UBIFS recovery on CFI NOR, should be merged upstream via the MTD tree, and it is currently sitting in my l2-mtd-2.6.git tree.

Artem.