public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind@infradead.org>
To: Jamie Lokier <jamie@shareable.org>
Cc: Nancy <nancydreaming@gmail.com>,
	linux-mtd <linux-mtd@lists.infradead.org>
Subject: Re: Is there possible to integrate mtd ubi ubifs latest version in one git tree?
Date: Tue, 15 Apr 2008 14:44:18 +0300	[thread overview]
Message-ID: <1208259858.5965.220.camel@sauron> (raw)
In-Reply-To: <20080415114135.GA3556@shareable.org>

On Tue, 2008-04-15 at 12:41 +0100, Jamie Lokier wrote:
> If erase counters are stored at the start of each block, for the block
> itself, what happens in this sequence?
> 
>     1. Begin erase block.
>     2. Erase succeeds.
>     3. Power failure / system reset / watchdog / etc.
>     4. ....?
> 
> Is the erase counter zeroed as a result of this?

It tries to minimize probability of situations like this by writing the
EC right after the erasure. But this still can happen of course. In this
case UBI uses the average erase-counter (calculated while scanning is
done) and writes it to this eraseblock.

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

  reply	other threads:[~2008-04-15 11:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-11  6:48 Is there possible to integrate mtd ubi ubifs latest version in one git tree? Nancy
2008-04-12  9:57 ` Artem Bityutskiy
2008-04-12  9:59   ` Artem Bityutskiy
2008-04-12 10:10   ` Artem Bityutskiy
2008-04-14  4:46     ` Nancy
2008-04-14  9:05       ` Artem Bityutskiy
2008-04-15 11:41         ` Jamie Lokier
2008-04-15 11:44           ` Artem Bityutskiy [this message]
2008-04-15 15:21             ` Jamie Lokier
2008-04-15 15:41               ` Artem Bityutskiy
     [not found]         ` <bae050c10804140435v5141dec6qd61b325a4a1ff6ad@mail.gmail.com>
     [not found]           ` <1208173090.5965.187.camel@sauron>
2008-04-15 12:04             ` Nancy
2008-04-16  6:11               ` 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=1208259858.5965.220.camel@sauron \
    --to=dedekind@infradead.org \
    --cc=jamie@shareable.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=nancydreaming@gmail.com \
    /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