linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Please teach UBI
@ 2010-12-10 17:34 Tarosa
  2010-12-14 16:44 ` Artem Bityutskiy
  0 siblings, 1 reply; 2+ messages in thread
From: Tarosa @ 2010-12-10 17:34 UTC (permalink / raw)
  To: linux-mtd

Hello.

Because I do not usually use English, unknown sentences might be written.

It is a basic question.
UBI is an array of the initial of "Unsorted block images". Please teach the
meaning of this "Unsorted block images".
Was there a filesystem of "Sorted block images" in the past?
What after the filesystem is different as for not sorting block images?
Where of UBI is unsorted block images?
I do not understand. Please tell me.

There are another and a question.
It is defined that CONFIG_MTD_UBI_WL_THRESHOLD is 4096. It is thought this is to
mean WL is done as difference between a maximum  and a minimum  of the value of
erace counter of PEBs are always in the range of 4096*2(=8192).

Why is it 8192 ?
In a value that is bigger than 8192, isn't it good? Or, isn't it good in a
narrower range?
Isn't there what changed by the character of mtd?
Please teach to me.

My best regards.

-- 
tarosa yamamoto
E-Mail: tarosa.y@gmail.com

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

* Re: Please teach UBI
  2010-12-10 17:34 Please teach UBI Tarosa
@ 2010-12-14 16:44 ` Artem Bityutskiy
  0 siblings, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2010-12-14 16:44 UTC (permalink / raw)
  To: Tarosa; +Cc: linux-mtd

On Sat, 2010-12-11 at 02:34 +0900, Tarosa wrote:
> Hello.
> 
> Because I do not usually use English, unknown sentences might be written.
> 
> It is a basic question.
> UBI is an array of the initial of "Unsorted block images". Please teach the
> meaning of this "Unsorted block images".

Well, you can consider physical erase blocks to be sorted. Then when you
put UBI on top, you have logical eraseblocks (LEBs). Each LEB contains
an "image" (data), and it is mapped to a PEB (block), and and UBI makes
these images to be unsorted in physical level.

So
1. block = physical eraseblock
2. block image - the contents of a physical eraseblocks.

Without UBI, "block images" are sorted.

With UBI, they become "unsorted", in a sense that UBI adds logical layer
with mapping, so on the physical level the "block images" become
unsorted.

Hence the name. It also means "where" in Latin. IBM guys invented it,
not me, so my understanding can be wrong.

> Was there a filesystem of "Sorted block images" in the past?

In physical eraseblocks.

> What after the filesystem is different as for not sorting block images?

UBI is not file-system at all. It is a layer between MTD and
file-system. UBIFS is a file-system which relies on UBI. It name comes
from UBI + FS = UBIFS.

> Where of UBI is unsorted block images?
> I do not understand. Please tell me.
> 
> There are another and a question.
> It is defined that CONFIG_MTD_UBI_WL_THRESHOLD is 4096. It is thought this is to
> mean WL is done as difference between a maximum  and a minimum  of the value of
> erace counter of PEBs are always in the range of 4096*2(=8192).

Not 8192, but 4096.

> Why is it 8192 ?
> In a value that is bigger than 8192, isn't it good? Or, isn't it good in a
> narrower range?

This is just a default. For modern flash you may need lower value, this
is configurable.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)

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

end of thread, other threads:[~2010-12-14 16:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-10 17:34 Please teach UBI Tarosa
2010-12-14 16:44 ` 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).