linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* UBI - EBA table (Erase block association table) - wear leveling
@ 2011-03-18 14:19 Navaneethan P
  2011-03-31 12:19 ` Artem Bityutskiy
  0 siblings, 1 reply; 2+ messages in thread
From: Navaneethan P @ 2011-03-18 14:19 UTC (permalink / raw)
  To: linux-mtd
  Cc: navaneethan.p, shenbaga.nathan, Stefan.Bigler,
	Sundararajan.Somasundaram

 Hi Linux-Mtd users,

We are using UBI over NAND Flash. I have the following dubts.

1) UBI stores the volume id table & EBA table in some PEB of the NAND Flash.
My assumption is that volume id table will always be stored in LEB
'X'. and UBI will go & read the information during initialization.
Is my undersatnding correct?

2) One of the assumption is that EBA table is always stored in an PEB.
Is my assumption correct?

3) I read from the wear leveling subsystem (wl.c), the maximum
difference between the erase counters of erase blocks will be
CONFIG_MTD_UBI_WL_THRESHOLD (defined as 4096).
If the difference exceeds then it will move the data from high EC
block to low EC block.
Let me take the case of PEB 'A' stores the EBA table. Because of the
writting to the flash, EC of PEB 'A' reaches to 4096. As per the
documentation, it has to be wear leveled to lower EC block. Let me
assume that this PEB is 'B'. My doubt is "In the next initialization,
how does the UBI understands that EBA is stored in PEB 'B' instead of
PEB 'A'?"

4) What happens when PEB which holds EBA table, becomes bad? At that
time, will system become unusable?

Please help us to clarify the doubt.
thanks in advance for helping us.

Regards,
Navaneethan

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

end of thread, other threads:[~2011-03-31 12:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-18 14:19 UBI - EBA table (Erase block association table) - wear leveling Navaneethan P
2011-03-31 12:19 ` Artem Bityutskiy

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).