All of lore.kernel.org
 help / color / mirror / Atom feed
From: Corentin Chary <corentin.chary@gmail.com>
To: dedekind@infradead.org
Cc: Amit Kumar Sharma <amitsharma.9@samsung.com>,
	"linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>,
	Adrian Hunter <ext-adrian.hunter@nokia.com>,
	"brij.singh@samsung.com" <brij.singh@samsung.com>
Subject: Re: Regarding UBI scalability
Date: Tue, 3 Feb 2009 12:13:19 +0100	[thread overview]
Message-ID: <71cd59b00902030313v47c2861anb8078e1f75de7eeb@mail.gmail.com> (raw)
In-Reply-To: <1233658015.24809.105.camel@localhost.localdomain>

On Tue, Feb 3, 2009 at 11:46 AM, Artem Bityutskiy
<dedekind@infradead.org> wrote:
> On Tue, 2009-02-03 at 00:44 +0100, Corentin Chary wrote:
>> I was wondering how it is possible to get atomic operations using such tables ?
>> The first thing that come to my mind is TFAT (two tables, one for
>> operation in progress,
>> the other considered as always "valid"). But I'm not sure it' the good
>> way to do such a thing.
>
> Journal + commit mechanisms should allow doing this.

I'm asking some other questions, because in UFFS we are working on
something like that, but not for UBI2. But if I can help for UBI2,
I'll.

A journal node, would probably take less than 16 B. With min_io_size
>= 512 B (sometime 2KB), a journal for map/unmap operation will take
some time before being written.

I see two solutions, based on periodic journal write with padding to
have min_io_size bytes to write:
- based on time (every X ms)
- based on changes (every X changes)
- based on both

But there is probably more clever solutions.

One other thing is the table will have to move on the flash for wear
leveling, but for that we can use the "anchors" as defined in JFFS3
pdf.


-- 
Corentin Chary
http://xf.iksaif.net

  reply	other threads:[~2009-02-03 11:13 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-30 12:45 Regarding UBI scalability BRIJESH SINGH
2009-02-02  9:31 ` Artem Bityutskiy
2009-02-02 10:17   ` Amit Kumar Sharma
2009-02-02 11:07     ` Adrian Hunter
2009-02-02 10:57       ` Artem Bityutskiy
2009-02-02 11:18         ` Adrian Hunter
2009-02-02 20:07           ` Jamie Lokier
2009-02-02 23:44           ` Corentin Chary
2009-02-03 10:35             ` Brijesh Singh
2009-02-03 10:48               ` Artem Bityutskiy
2009-02-03 11:27                 ` Enrico Scholz
2009-02-04  7:41                   ` Artem Bityutskiy
2009-02-04  9:29               ` Adrian Hunter
2009-02-05  9:37                 ` Brijesh Singh
2009-02-05 11:17                   ` Adrian Hunter
2009-02-11  7:50                     ` Brijesh Singh
2009-02-03 10:46             ` Artem Bityutskiy
2009-02-03 11:13               ` Corentin Chary [this message]
2009-02-03 11:51                 ` Brijesh Singh
2009-02-04  7:45                 ` Artem Bityutskiy
     [not found] <7824366.270131233573513030.JavaMail.weblogic@epml10>
2009-02-04  9:47 ` Adrian Hunter
2009-02-05  9:40   ` Brijesh Singh
2009-02-08  9:48     ` Corentin Chary
2009-02-08 10:31       ` Kyungmin Park
2009-02-09  8:46         ` Artem Bityutskiy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=71cd59b00902030313v47c2861anb8078e1f75de7eeb@mail.gmail.com \
    --to=corentin.chary@gmail.com \
    --cc=amitsharma.9@samsung.com \
    --cc=brij.singh@samsung.com \
    --cc=dedekind@infradead.org \
    --cc=ext-adrian.hunter@nokia.com \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.