From: Shmulik Ladkani <shmulik.ladkani@gmail.com>
To: Mike Dunn <mikedunn@newsguy.com>
Cc: linux-mtd@lists.infradead.org, dedekind1@gmail.com
Subject: Regarding latest EUCLEAN/bitflip_threshold patchset
Date: Wed, 9 May 2012 13:26:13 +0300 [thread overview]
Message-ID: <20120509132613.40db5533@pixies.home.jungo.com> (raw)
Hi Mike,
I noticed 'nand_do_read_oob' explicitly tests 'mtd->ecc_stats.corrected'
and returns EUCLEAN - as it was not ported to use the new
'bitflip_threshold'.
From nand_base.c:
if (mtd->ecc_stats.failed - stats.failed)
return -EBADMSG;
return mtd->ecc_stats.corrected - stats.corrected ? -EUCLEAN : 0;
- May drivers increment mtd->ecc_stats.{corrected,failed} during their
ecc.read_oob() call?
- If so, can we (should we?) report EUCLEAN according to the
bitflip_threshold in this case?
Regards,
Shmulik
next reply other threads:[~2012-05-09 10:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-09 10:26 Shmulik Ladkani [this message]
2012-05-11 11:51 ` Regarding latest EUCLEAN/bitflip_threshold patchset Artem Bityutskiy
2012-05-12 18:37 ` Mike Dunn
2012-05-12 20:13 ` Shmulik Ladkani
2012-05-16 6:49 ` Brian Norris
2012-05-16 18:09 ` Mike Dunn
2012-05-17 9:22 ` Shmulik Ladkani
2012-05-14 19:28 ` Mike Dunn
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=20120509132613.40db5533@pixies.home.jungo.com \
--to=shmulik.ladkani@gmail.com \
--cc=dedekind1@gmail.com \
--cc=linux-mtd@lists.infradead.org \
--cc=mikedunn@newsguy.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.