linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] nandtest: Allow multiple read & check iterations
@ 2014-05-06 15:07 Ezequiel Garcia
  2014-05-06 15:07 ` [PATCH v2] nandtest: Introduce multiple reads " Ezequiel Garcia
  0 siblings, 1 reply; 4+ messages in thread
From: Ezequiel Garcia @ 2014-05-06 15:07 UTC (permalink / raw)
  To: linux-mtd, Artem Bityutskiy, Brian Norris
  Cc: Huang Shijie, Pekon Gupta, Guido Martínez, Ezequiel Garcia

This patch extends the nandtest to allow multiple read & check iterations.
Repeating the read-and-check multiple times, stresses driver's ECC engine and
has been useful to discover poor stability in an old (not mainline) OMAP2 NAND
driver.

The new 'reads' parameters, allows to simulate a more realistic workload:

  1. erase block
  2. write data
  3. read and check (N times)

By default, we set the "read and check" iteration count to four (4).

Ezequiel Garcia (1):
  nandtest: Introduce multiple reads & check iterations

 nandtest.c | 35 +++++++++++++++++++++++++----------
 1 file changed, 25 insertions(+), 10 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-31  0:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-06 15:07 [PATCH v2] nandtest: Allow multiple read & check iterations Ezequiel Garcia
2014-05-06 15:07 ` [PATCH v2] nandtest: Introduce multiple reads " Ezequiel Garcia
2014-05-27 12:40   ` Artem Bityutskiy
2014-05-31  0:01     ` Brian Norris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).