linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* running mtd_stresstest
@ 2010-03-16  6:32 Murali N
  2010-03-16  6:41 ` Artem Bityutskiy
  0 siblings, 1 reply; 2+ messages in thread
From: Murali N @ 2010-03-16  6:32 UTC (permalink / raw)
  To: linux-mtd

Hi,
I am trying to run 'mtd_stresstest' on my nand driver.But it is
failing currently.
I have a query that what is the size of the "len" that is being
request while read/write data in this test case?
As far my understanding it is not generating the 'len' ( rand_len() )
as multiple of underlying flash page size!!!
My driver assumes/expected the 'len' field as multiple size of pages?
To make it run the "mtd_stresstest" on my driver do i need tweak the code?
Is test should pass ( without making any modifications ) on nand
driver which is compliance to the MTD specification?

can anyone clarify my doubts

Regards,
Murali N

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

* Re: running mtd_stresstest
  2010-03-16  6:32 running mtd_stresstest Murali N
@ 2010-03-16  6:41 ` Artem Bityutskiy
  0 siblings, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2010-03-16  6:41 UTC (permalink / raw)
  To: Murali N; +Cc: linux-mtd

On Tue, 2010-03-16 at 12:02 +0530, Murali N wrote:
> Hi,
> I am trying to run 'mtd_stresstest' on my nand driver.But it is
> failing currently.
> I have a query that what is the size of the "len" that is being
> request while read/write data in this test case?
> As far my understanding it is not generating the 'len' ( rand_len() )
> as multiple of underlying flash page size!!!
> My driver assumes/expected the 'len' field as multiple size of pages?
> To make it run the "mtd_stresstest" on my driver do i need tweak the code?
> Is test should pass ( without making any modifications ) on nand
> driver which is compliance to the MTD specification?
> 
> can anyone clarify my doubts

Please, fix your driver.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)

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

end of thread, other threads:[~2010-03-16  6:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-16  6:32 running mtd_stresstest Murali N
2010-03-16  6:41 ` Artem Bityutskiy

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).