From: Artem Bityutskiy <dedekind@infradead.org>
To: Nancy <nancydreaming@gmail.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Is there really need to build Block Device Emulation over UBI?
Date: Thu, 24 Jan 2008 10:45:26 +0200 [thread overview]
Message-ID: <1201164326.6934.39.camel@sauron> (raw)
In-Reply-To: <bae050c10801240024y6bd84a2bj1c5c29037200ab24@mail.gmail.com>
On Thu, 2008-01-24 at 16:24 +0800, Nancy wrote:
> > The problem with mtdblock is that when it needs to change an eraseblock,
> > it reads it, erases, then writes new data to it, which would cause data
> > loss in case of an unclean reboot.
>
> If I can delay the erase operation, then it perfect works? when
> change a eraseblock, reads it(from old mapped PEB) , then writes new
> data to it(new mapped PEB), finally erase the old mapped PEB.
>
> How about that?
Yes, this is OK, but mtdblock does not do this. Here I wrote about how
to create a simple FTL layer over UBI:
http://lists.infradead.org/pipermail/linux-mtd/2008-January/020381.html
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
next prev parent reply other threads:[~2008-01-24 8:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-24 3:13 Is there really need to build Block Device Emulation over UBI? Nancy
2008-01-24 7:18 ` Artem Bityutskiy
2008-01-24 8:24 ` Nancy
2008-01-24 8:45 ` Artem Bityutskiy [this message]
2008-01-24 9:37 ` 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=1201164326.6934.39.camel@sauron \
--to=dedekind@infradead.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