[PATCH v2] nandtest: Allow multiple read & check iterations

Ezequiel Garcia ezequiel at vanguardiasur.com.ar
Tue May 6 08:07:48 PDT 2014


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




More information about the linux-mtd mailing list