public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind@infradead.org>
To: Corentin Chary <corentin.chary@gmail.com>
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: Wed, 04 Feb 2009 09:45:51 +0200	[thread overview]
Message-ID: <1233733551.5138.33.camel@localhost.localdomain> (raw)
In-Reply-To: <71cd59b00902030313v47c2861anb8078e1f75de7eeb@mail.gmail.com>

On Tue, 2009-02-03 at 12:13 +0100, Corentin Chary wrote:
> 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.

Well, to guarantee integrity, I do not see any other solution but doing
2x2KiB writes on 2KiB-page NAND: start update (1), (write the LEB
somewhere), end update (2), (erase the old PEB). That's the price you
pay.

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

  parent reply	other threads:[~2009-02-04  7:45 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
2009-02-03 11:51                 ` Brijesh Singh
2009-02-04  7:45                 ` Artem Bityutskiy [this message]
     [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=1233733551.5138.33.camel@localhost.localdomain \
    --to=dedekind@infradead.org \
    --cc=amitsharma.9@samsung.com \
    --cc=brij.singh@samsung.com \
    --cc=corentin.chary@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox