From: JerinJacob <jerin.jacob@maxim-ic.com>
To: Adrian Hunter <adrian.hunter@nokia.com>
Cc: "Bityutskiy Artem \(Nokia-M/Helsinki\)"
<Artem.Bityutskiy@nokia.com>,
"linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: UBIFS Error
Date: Tue, 8 Sep 2009 17:46:19 +0530 [thread overview]
Message-ID: <4AA64B13.70306@maxim-ic.com> (raw)
In-Reply-To: <4AA60E6C.6060307@nokia.com>
Please find below the actual test script:
--------------------------start---------------------------------------------------------------
#!/bin/sh
sizecount=0
localcount=0
deletelimit=`expr 500 \* 1024 \* 1024` # 500 MB
FILENAME="1 2 3 4 5 6 7 8 9 10"
rm -rf /ubifs_rootfs/*
while [ 1 ]
do
for filename in $FILENAME
do
size=`expr 4096 \* 10`
dd if=/dev/urandom of=/ubifs_rootfs/foo1${filename} bs=1024
count=4 2> /dev/null ;
dd if=/dev/urandom of=/ubifs_rootfs/foo2${filename} bs=1024
count=4 2> /dev/null ;
dd if=/dev/urandom of=/ubifs_rootfs/foo3${filename} bs=1024
count=4 2> /dev/null ;
dd if=/dev/urandom of=/ubifs_rootfs/foo4${filename} bs=1024
count=4 2> /dev/null ;
dd if=/dev/urandom of=/ubifs_rootfs/foo5${filename} bs=1024
count=4 2> /dev/null ;
dd if=/dev/urandom of=/ubifs_rootfs/foo6${filename} bs=1024
count=4 2> /dev/null ;
dd if=/dev/urandom of=/ubifs_rootfs/foo7${filename} bs=1024
count=4 2> /dev/null ;
dd if=/dev/urandom of=/ubifs_rootfs/foo8${filename} bs=1024
count=4 2> /dev/null ;
dd if=/dev/urandom of=/ubifs_rootfs/foo9${filename} bs=1024
count=4 2> /dev/null ;
dd if=/dev/urandom of=/ubifs_rootfs/foo10${filename} bs=1024
count=4 2> /dev/null ;
localcount=`expr $localcount + $size`
sizecount=`expr $sizecount + $size`
done
if [ $localcount -gt $deletelimit ] ; then
echo "Clean up!!!"
localcount=0
rm -rf /ubifs_rootf/* ; sync
fi
date ; sync
echo "Bytes Written to Nand flash:`expr $sizecount / 1048576 ` MB"
done
-----------------------------End-----------------------------------------------------------------
Adrian Hunter wrote:
> JerinJacob wrote:
>
>> Hi All,
>>
>> Got an UBIFS error while performing a regression write test on UBIFS
>> file system.
>>
>>
>> [Issue]
>> =======
>>
>> While performing a regression write test on UBIFS file system,the UBIFS
>> file system becomes read-only mode.
>> pseudo code for the regression write test as follows:
>>
>> while(1)
>> {
>> create and write a random image(with different block size using dd
>> command) to nand flash
>>
>> if "disk space is reached maxim size"
>> delete all the files
>>
>> }
>>
>
> Can you provide the actual test?
>
>
> .
>
>
next prev parent reply other threads:[~2009-09-08 12:16 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-08 6:02 UBIFS Error JerinJacob
2009-09-08 7:57 ` Adrian Hunter
2009-09-08 12:16 ` JerinJacob [this message]
2009-09-10 12:01 ` JerinJacob
2009-09-10 12:13 ` Artem Bityutskiy
2009-09-10 12:53 ` JerinJacob
2009-09-10 13:46 ` Artem Bityutskiy
2009-09-10 14:22 ` JerinJacob
2009-09-11 12:18 ` JerinJacob
2009-09-14 14:27 ` Artem Bityutskiy
2009-09-14 14:29 ` Artem Bityutskiy
2009-09-15 8:28 ` JerinJacob
2009-09-17 8:38 ` JerinJacob
2009-09-28 11:22 ` Artem Bityutskiy
2009-09-29 5:48 ` JerinJacob
2009-09-30 5:37 ` Artem Bityutskiy
2009-09-14 15:07 ` JerinJacob
2009-09-14 15:08 ` Artem Bityutskiy
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=4AA64B13.70306@maxim-ic.com \
--to=jerin.jacob@maxim-ic.com \
--cc=Artem.Bityutskiy@nokia.com \
--cc=adrian.hunter@nokia.com \
--cc=linux-mtd@lists.infradead.org \
/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.