All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] UBIFS: Free space fixup on first mount
@ 2011-05-06 22:58 Matthew L. Creech
  2011-05-06 22:58 ` [PATCH 1/2] UBIFS: add the fixup function Matthew L. Creech
  2011-05-06 22:58 ` [PATCH 2/2] UBIFS: fix-up free space on mount if flag is set Matthew L. Creech
  0 siblings, 2 replies; 27+ messages in thread
From: Matthew L. Creech @ 2011-05-06 22:58 UTC (permalink / raw)
  To: linux-mtd

Hi,

The following changes add a superblock option to UBIFS indicating that
it needs to be scanned for LEBs with empty pages the first time it's
mounted.  This is needed because images programmed using "nandwrite"
may contain empty pages, which UBIFS intends to be erased but which
may be programmed as real data.  This causes problems on some NAND
flashes, as described here:

http://www.linux-mtd.infradead.org/faq/ubifs.html#L_why_ubiformat

When this flag is set, the FS is scanned for any in-use LEBs with one
or more free pages, and these LEBs are remapped (which erases the
blank pages).


Changes since v3 (Artem):
- Free buffer used for reading superblock
- Remove unnecessary buffer-length alignment
- Fixup the log area

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2011-05-24 14:33 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-06 22:58 [PATCH 0/2] UBIFS: Free space fixup on first mount Matthew L. Creech
2011-05-06 22:58 ` [PATCH 1/2] UBIFS: add the fixup function Matthew L. Creech
2011-05-12 10:33   ` Artem Bityutskiy
2011-05-18 20:47     ` [PATCH] UBIFS: don't fail on -EBADMSG when fixing free space Ben Gardiner
2011-05-18 20:47       ` Ben Gardiner
2011-05-18 21:41       ` Matthew L. Creech
2011-05-18 21:41         ` Matthew L. Creech
2011-05-19 13:28         ` Ben Gardiner
2011-05-19 13:28           ` Ben Gardiner
2011-05-19 15:59           ` Matthew L. Creech
2011-05-19 15:59             ` Matthew L. Creech
2011-05-20  6:21           ` Artem Bityutskiy
2011-05-20  6:21             ` Artem Bityutskiy
2011-05-20  6:29           ` Artem Bityutskiy
2011-05-20  6:29             ` Artem Bityutskiy
2011-05-24 14:33             ` Ben Gardiner
2011-05-24 14:33               ` Ben Gardiner
2011-05-06 22:58 ` [PATCH 2/2] UBIFS: fix-up free space on mount if flag is set Matthew L. Creech
2011-05-12 10:57   ` Artem Bityutskiy
2011-05-19  5:32     ` [PATCH] UBIFS: document the "free space fixup" flag Matthew L. Creech
2011-05-20  9:24       ` Artem Bityutskiy
2011-05-12 11:09   ` [PATCH 2/2] UBIFS: fix-up free space on mount if flag is set Artem Bityutskiy
2011-05-13  7:58     ` Artem Bityutskiy
2011-05-13 10:59       ` Atlant Schmidt
2011-05-13 12:02         ` Michael Cashwell
2011-05-13 12:29         ` Artem Bityutskiy
2011-05-13 12:34           ` Artem Bityutskiy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.