From: Marek Skuczynski <mareksk7@gmail.com>
To: dedekind1@gmail.com
Cc: linux-mtd@lists.infradead.org
Subject: Re: Emulated write failures cause block marking as bad
Date: Thu, 04 Feb 2010 20:38:06 +0100 [thread overview]
Message-ID: <4B6B221E.2060409@gmail.com> (raw)
In-Reply-To: <1265304794.7343.135.camel@localhost>
Hello Artem,
> Using this option to
>> volume update test
>> makes no sense.
>>
> This is too strong statement. It does make sens - you verify that the
> error handling functionality works.
>
> You can say that this option is not good enough for you, this will be
> more fair statement.
>
Okay. You are right. This option is not implemented as I expect.
>> I am using kernel 2.6.23 with updated UBI from 2.6.29.
>> Have you experienced this problem already ? if so, is this has been fixed ?
>>
> Yes, I saw it. This is purely a debugging feature, and it was enough for
> me.
>
> You can easilly develop it a bit more, and make it stop returning erase
> errors when the amount of bad eraseblocks has reached some level.
>
> Just amend ubi_dbg_is_erase_failure()
>
> You might want to do the same for 'ubi_dbg_is_write_failure()', for the
> same reasons, basically.
>
>
Yes, of course I can modify the number of errors that will be reported.
However, I would expect that the "emulated write errors" will be
reported out of sync_erase() function,
because most of these errors are reported during writing EC header (in
my case) just after flash block
is erased. As result of this, using the "emulated write errors" I have
almost the same behavior that
I would get with "emulated erase errors" enabled.
Okay, maybe my case is isolated because of tested system configuration,
I will try manage this case myself.
Regards,
Marek
next prev parent reply other threads:[~2010-02-04 19:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-04 17:02 Emulated write failures cause block marking as bad Marek Skuczynski
2010-02-04 17:33 ` Artem Bityutskiy
2010-02-04 19:38 ` Marek Skuczynski [this message]
2010-02-05 9:23 ` Marek Skuczynski
2010-02-15 14:10 ` 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=4B6B221E.2060409@gmail.com \
--to=mareksk7@gmail.com \
--cc=dedekind1@gmail.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 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.