mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Robert Jarzmik <robert.jarzmik@free.fr>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: FAT filesystem write and long names stability
Date: Thu, 15 Dec 2011 10:28:38 +0100	[thread overview]
Message-ID: <8739cmxjy1.fsf@free.fr> (raw)
In-Reply-To: <87mxawxz9e.fsf@free.fr> (Robert Jarzmik's message of "Tue, 13 Dec 2011 16:33:17 +0100")

Robert Jarzmik <robert.jarzmik@free.fr> writes:

> Sascha Hauer <s.hauer@pengutronix.de> writes:
>> It would be great if you could give it some testing as obviously my test
>> patterns didn't reveal the 'create folder' bug you described.
> Tomorrow or wednesday, I'll make the few tests I always do (making a
> directory, copying a file, deleting a file, etc ...) and report.
This is what my tests give back:

**** With FAT caching (barebox.git/next + rjk mioa701 support):
barebox:/sdcard time bmp /sdcard/help.bmp 
time: 6895ms
barebox:/sdcard time cp /sdcard/help.bmp /sdcard/toto.tmp
time: 13278ms
barebox:/sdcard ls -l help.bmp
-rwxrwxrwx     230454 help.bmp
barebox:/sdcard 

**** Without FAT caching (merged pu/block into barebox.git/next + rjk mioa701 support)
barebox:/sdcard time bmp /sdcard/help.bmp
time: 9219ms
barebox:/sdcard time cp /sdcard/help.bmp /sdcard/titi.tmp
BUG: failure at common/block.c:248/block_

The "BUG" thing prevents me from going further. But it seems the cache in main
tree speeds up things. I also think that creating directories without files
serves no purpose I can think of, and is an acceptable tradeoff for the improved
performance.

Cheers.

--
Robert

PS: help.bmp is a converted bmp, 320x480, 24 bpp from :
    http://t0.gstatic.com/images?q=tbn:ANd9GcQssQd1VBKJUde7lZpU49GVwDaZbNGvbDNbrOeSbPrL_MfBkK61SA

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2011-12-15  9:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-05 17:51 Robert Jarzmik
2011-12-05 20:03 ` Franck JULLIEN
2011-12-05 20:40   ` Robert Jarzmik
2011-12-05 20:43     ` Franck JULLIEN
2011-12-06 10:01       ` Robert Jarzmik
2011-12-07  8:37         ` Sascha Hauer
2011-12-13 15:33           ` Robert Jarzmik
2011-12-15  9:28             ` Robert Jarzmik [this message]
2011-12-19 11:01               ` Sascha Hauer
2011-12-19 11:14                 ` Sascha Hauer
2011-12-19 21:03                   ` [PATCH] drivers/mci: pxa fix clockrate Robert Jarzmik

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=8739cmxjy1.fsf@free.fr \
    --to=robert.jarzmik@free.fr \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox