All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Parsons <lost.distance@yahoo.com>
To: Joakim Tjernlund <joakim.tjernlund@transmode.se>
Cc: linux-mtd@lists.infradead.org, dwmw2@infradead.org,
	philipp.zabel@gmail.com
Subject: Re: [PATCH] mtd: cfi: Wait for Block Erase operation to finish
Date: Fri, 2 Mar 2012 15:15:13 +0000 (GMT)	[thread overview]
Message-ID: <1330701313.29258.YahooMailClassic@web29001.mail.ird.yahoo.com> (raw)
In-Reply-To: <OF3BA4765E.16024E23-ONC12579B5.004E96D5-C12579B5.004FAAF8@transmode.se>

--- On Fri, 2/3/12, Joakim Tjernlund <joakim.tjernlund@transmode.se> wrote:
> > The problem only became a problem for me after I
> switched from JFFS2 to
> > UBIFS. I found that UBIFS would make file systems
> read-only. Either JFFS2
> > was more forgiving of CFI errors, or UBIFS exercised
> CFI in new ways that
> > provoked the errors. As others switch from JFFS2 to
> UBIFS they too might
> > find the same problem.
> 
> yes, UBI probably has some different use. One seems that it
> keeps erasing the
> same block over and over again if the erase fails. JFFS2
> doesn't do that since
> you can't trust a block that is failing erase(how can you be
> sure that write will work?)
> So, IMHO, UBIFS should reconsider this policy.
> 
> On that note, have you noticed any difference between JFFS2
> and UBIFS?
> Is performance comparable?

I haven't spent any time considering performance since I am preoccupied
with the errors. However my perception is that UBIFS boots slower but is
quicker for normal file writes and perhaps reads.

One functional difference which I have tested is the mmap(2) MAP_SHARED
flag. This was not supported in JFFS2 and consequently commands such as
localedef would simply fail. On UBIFS localedef works normally.

  reply	other threads:[~2012-03-02 15:15 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-01 17:22 [PATCH] mtd: cfi: Wait for Block Erase operation to finish Paul Parsons
2012-03-01 17:38 ` Paul Parsons
2012-03-01 17:53   ` Paul Parsons
2012-03-01 18:03     ` Joakim Tjernlund
2012-03-01 18:50       ` Paul Parsons
2012-03-02 12:39         ` Joakim Tjernlund
2012-03-02 14:06           ` Paul Parsons
2012-03-02 14:30             ` Joakim Tjernlund
2012-03-02 15:15               ` Paul Parsons [this message]
2012-03-09 10:45               ` Artem Bityutskiy
2012-03-13  8:27                 ` Joakim Tjernlund
2012-03-13 12:48                   ` Artem Bityutskiy
2012-03-13 12:55                     ` Joakim Tjernlund
2012-03-13 13:09                       ` Artem Bityutskiy
2012-03-13 13:33                         ` Joakim Tjernlund
  -- strict thread matches above, loose matches on Subject: below --
2012-02-28 15:32 Paul Parsons
2012-02-28 21:25 ` Joakim Tjernlund
2012-02-29  0:23   ` Paul Parsons
2012-02-29  8:58     ` Joakim Tjernlund
2012-02-29 17:22       ` Paul Parsons
2012-02-29 18:03         ` Artem Bityutskiy
2012-02-29 22:26           ` Paul Parsons
2012-03-09 10:39             ` Artem Bityutskiy
2012-02-29 23:35         ` Joakim Tjernlund
2012-03-01 14:57           ` Paul Parsons
2012-03-01 15:59             ` Joakim Tjernlund

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=1330701313.29258.YahooMailClassic@web29001.mail.ird.yahoo.com \
    --to=lost.distance@yahoo.com \
    --cc=dwmw2@infradead.org \
    --cc=joakim.tjernlund@transmode.se \
    --cc=linux-mtd@lists.infradead.org \
    --cc=philipp.zabel@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 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.