All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Artem B. Bityutskiy" <dedekind@yandex.ru>
To: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
Cc: linux-mtd@lists.infradead.org,
	Anders Grafstrom <grfstrm@users.sourceforge.net>
Subject: Re: mtd/fs/jffs2 erase.c,1.84,1.85 roll back
Date: Mon, 26 Sep 2005 12:03:17 +0400	[thread overview]
Message-ID: <4337AB45.9020607@yandex.ru> (raw)
In-Reply-To: <20050925125455.GA28978@wohnheim.fh-wedel.de>

Jörn Engel wrote:
> On Fri, 23 September 2005 17:22:53 +0200, Anders Grafstrom wrote:
> 
>>jffs2 makes a second try if a failed erase is reported by the mtd 
>>driver. But only for NAND (in jffs2_write_nand_badblock()). What I'm 
>>after is a retry for NOR as well. But I wrote the patch so it would 
>>retry for other cases of failure too.
> 
> Is a retry really an improvement?  When a block cannot be properly
> erased on the first try, I would not trust it anymore.  Instead of a
> retry, I'd rather mark it as a bad block and not touch it again.

 From the other hand, why not to retry? Does it hurt? Is this in the 
critical code-path? Deity knows what happend to the hardware/driver, may 
be there was a short magnetical disturbance and that was the reason why 
the block was not erased. May be one of the lines/cirquits outside of 
the flash was affected but the block is really erasable. Actually, after 
I've read the paper that *you* pointed 
(http://www.cs.wisc.edu/adsl/Publications/iron-sosp05.pdf), I'm rather 
positive about the idea of retrying. The articlae is about HDDs, but IMO 
is also acceptable flash devices in this respect.

-- 
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.

  reply	other threads:[~2005-09-26  8:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1EHjUk-0001IT-Dn@phoenix.infradead.org>
     [not found] ` <43303409.5030406@users.sourceforge.net>
2005-09-20 16:48   ` mtd/fs/jffs2 erase.c,1.84,1.85 roll back Artem B. Bityutskiy
2005-09-20 19:49     ` Anders Grafstrom
2005-09-22 14:34       ` Artem B. Bityutskiy
2005-09-23 15:22         ` Anders Grafstrom
2005-09-25 12:54           ` Jörn Engel
2005-09-26  8:03             ` Artem B. Bityutskiy [this message]
2005-09-26  8:31               ` Jörn Engel

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=4337AB45.9020607@yandex.ru \
    --to=dedekind@yandex.ru \
    --cc=grfstrm@users.sourceforge.net \
    --cc=joern@wohnheim.fh-wedel.de \
    --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.