linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* UBI fastmap updates
@ 2012-06-27 15:57 Richard Weinberger
  2012-06-27 15:57 ` [PATCH 01/16] UBI: Fastmap: Check find_mean_wl_entry()'s return value Richard Weinberger
                   ` (15 more replies)
  0 siblings, 16 replies; 18+ messages in thread
From: Richard Weinberger @ 2012-06-27 15:57 UTC (permalink / raw)
  To: linux-mtd
  Cc: linux-kernel, adrian.hunter, Heinz.Egger, thomas.wucher,
	shmulik.ladkani, tglx, tim.bird, Marius.Mazarel, artem.bityutskiy,
	nyoushchenko

This is the next round of UBI fastmap updates.
Most changes are coding style and kernel doc fixes.

The highlights are:
	- Fastmap stores now the pool size in it's anchor PEB
	  such that users can set custom pool sizes. (E.g using ubinize)

I've addressed all TODOs.
I did not remove this point from the TODO list:
"2. Implement power-cut emulation infrastructure similar to what is in UBIFS and
   test UBI + fastmap with it."

Artem, do we really need a new power-cut emulation infrastructure?
I did some tests using integck (integck -p -m 0 /mnt).
Nothing bad happened. :-)
Ff you disable writing the fastmap at detach time you can also simulate
a power cut. I did that very often. We written fastmap has to be valid at any time!
Also if a power cut happens while writing the fastmap it's CRC will be
bad and fastmap falls back to scanning mode.
So, I'm not 100% sure what fastmap specific power cut tests need to be done.

Another point:
UBI_FM_MAX_POOL_SIZE is currently 256.
A fastmap pool cannot be greater than this value.
Are we fine with this upper limit?

If you want to test fastmap you can use my git repo:
git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubi2.git ubi2/v14

Enjoy!
//richard

[PATCH 01/16] UBI: Fastmap: Check find_mean_wl_entry()'s return
[PATCH 02/16] UBI: Fastmap: Kernel doc updates
[PATCH 03/16] UBI: Fastmap: Fix license version
[PATCH 04/16] UBI: Fastmap: Rename self_check_fastmap()
[PATCH 05/16] UBI: Fastmap: Address a TODO
[PATCH 06/16] UBI: Fastmap: Address another TODO
[PATCH 07/16] UBI: Fastmap: Address jet another TOOD
[PATCH 08/16] UBI: Fastmap: Address another TOOD
[PATCH 09/16] UBI: Fastmap: Be more verbose on fastmap failure
[PATCH 10/16] UBI: Fastmap: More kernel doc updates
[PATCH 11/16] UBI: Fastmap: Store pool sizes in fastmap
[PATCH 12/16] UBI: Fastmap: Make checkpatch.pl happy
[PATCH 13/16] UBI: Fastmap: Remove one point from TODO list
[PATCH 14/16] UBI: Fastmap: Remove one point from TODO list
[PATCH 15/16] UBI: Fastmap: Remove one point from TODO list
[PATCH 16/16] UBI: Fastmap: Remove one point from TODO list

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

end of thread, other threads:[~2012-06-28 12:40 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-27 15:57 UBI fastmap updates Richard Weinberger
2012-06-27 15:57 ` [PATCH 01/16] UBI: Fastmap: Check find_mean_wl_entry()'s return value Richard Weinberger
2012-06-27 15:57 ` [PATCH 02/16] UBI: Fastmap: Kernel doc updates Richard Weinberger
2012-06-27 15:57 ` [PATCH 03/16] UBI: Fastmap: Fix license version Richard Weinberger
2012-06-27 15:57 ` [PATCH 04/16] UBI: Fastmap: Rename self_check_fastmap() Richard Weinberger
2012-06-28 12:44   ` Artem Bityutskiy
2012-06-27 15:57 ` [PATCH 05/16] UBI: Fastmap: Address a TODO Richard Weinberger
2012-06-27 15:57 ` [PATCH 06/16] UBI: Fastmap: Address another TODO Richard Weinberger
2012-06-27 15:57 ` [PATCH 07/16] UBI: Fastmap: Address jet another TOOD Richard Weinberger
2012-06-27 15:57 ` [PATCH 08/16] UBI: Fastmap: Address " Richard Weinberger
2012-06-27 15:57 ` [PATCH 09/16] UBI: Fastmap: Be more verbose on fastmap failure Richard Weinberger
2012-06-27 15:57 ` [PATCH 10/16] UBI: Fastmap: More kernel doc updates Richard Weinberger
2012-06-27 15:57 ` [PATCH 11/16] UBI: Fastmap: Store pool sizes in fastmap Richard Weinberger
2012-06-27 15:57 ` [PATCH 12/16] UBI: Fastmap: Make checkpatch.pl happy Richard Weinberger
2012-06-27 15:57 ` [PATCH 13/16] UBI: Fastmap: Remove one point from TODO list Richard Weinberger
2012-06-27 15:57 ` [PATCH 14/16] " Richard Weinberger
2012-06-27 15:57 ` [PATCH 15/16] " Richard Weinberger
2012-06-27 15:57 ` [PATCH 16/16] " Richard Weinberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).