[PATCH v2] mtd: torturetest: add the support for random data pattern
Huang Shijie
shijie8 at gmail.com
Fri Feb 15 23:00:33 EST 2013
On Wed, Feb 13, 2013 at 6:37 PM, Artem Bityutskiy <dedekind1 at gmail.com> wrote:
> On Tue, 2013-02-05 at 16:21 +0800, Huang Shijie wrote:
>> Add a new module parameter 'pattern'. The meaning of the pattern is:
>> (1) pattern == 0 for 55/AA pattern.
>> (2) pattern < 0 for random pattern.
>> (3) pattern > 0 for random pattern too, the value of the pattern is used
>> as the seed for the random generator.
>
> Please, do not add parameters, make it simple - teach the test to use
> both the old patterns plus additional cycles with random patterns.
but if we do not add new parameter, how can we create a random seed?
Is it ok without set the random seed?
thanks
Huang Shijie
>
> --
> Best Regards,
> Artem Bityutskiy
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
More information about the linux-mtd
mailing list