All of lore.kernel.org
 help / color / mirror / Atom feed
* ubifs wear leveling across entire device
@ 2009-12-03 17:31 twebb
  2009-12-04 11:31 ` Adrian Hunter
  0 siblings, 1 reply; 6+ messages in thread
From: twebb @ 2009-12-03 17:31 UTC (permalink / raw)
  To: linux-mtd

I'm confused about how wear leveling occurs across the entire device
in the following example.  Could someone help me understand what I'm
missing?

4 GiB flash device (nand MLC):
4 MTD partitions defined:
0 - "p1" - 0x00000000 - 0x00800000
1 - "p2" - 0x00800000 - 0x10000000
2 - "p3" - 0x10000000 - 0x80000000
3 - "p4" - 0x80000000 - 0x100000000

kernel args specify 3 ubi volumes:
ubi.mtd=p1 ubi.mtd=p2 ubi.mtd=p3
(p4 is reserved and no volumes or filesystems sit on top of it)

The "vol_size" for each of the ubi volumes (as specified in the
ubinize cfg file) is slightly less than the corresponding mtd
partition size.  The volumes are specified as dynamic because they
need to be RW.

Thanks,
twebb

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

end of thread, other threads:[~2009-12-08  6:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-03 17:31 ubifs wear leveling across entire device twebb
2009-12-04 11:31 ` Adrian Hunter
2009-12-07 15:41   ` twebb
2009-12-07 20:05     ` Adrian Hunter
2009-12-07 22:44       ` twebb
2009-12-08  6:36         ` 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.