linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
* [bug] writes hanging
@ 2013-12-20 20:29 John Grub
  2013-12-21 20:15 ` John Grub
  2013-12-23  1:13 ` Jaegeuk Kim
  0 siblings, 2 replies; 6+ messages in thread
From: John Grub @ 2013-12-20 20:29 UTC (permalink / raw)
  To: linux-f2fs-devel


[-- Attachment #1.1: Type: text/plain, Size: 1723 bytes --]

Hello,

I can't seem to write larger files on my f2fs mount.
My hardware is an embedded arm platform with an 8GB eMMC nand flash
chip: Golbalscale
D2Plug <http://www.globalscaletechnologies.com/t-d2plugdetails.aspx>
I have two of these pieces of hardware and I see this issue on both of
them. There is no issue when I use ext4.
I am running kernel version 3.13.0-rc4
I've compiled  f2fs-tools from here
http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git @
11d187cdfa2dcf504aa25b5a1aab4228f19f22ff

I've followed the installation and usage instructions in
linux/Documentation/filesystems/f2fs.txt to format my 8GB eMMC nand flash
as f2fs.

I'm getting freezes when writing larger files to my f2fs partition. Here is
an experiment I've done to show this.
First create 3 test files of different sizes:
# cat /dev/urandom | head -c 50k > /tmp/50k
# cat /dev/urandom | head -c 100k > /tmp/100k
# cat /dev/urandom | head -c 150k > /tmp/150k

Test case #1: Repeatedly copy the same 50k file to j2fs:
# cp /tmp/50k /mnt/j2fs/ <-- this copy always works fine
# cp /tmp/50k /mnt/j2fs/ <-- this copy always works fine
# cp /tmp/50k /mnt/j2fs/ <-- this copy always hangs forever
For the failing copy, I've seen 4k, 8k and 12k copied correctly before it
stops.

Test case #2: Repeatedly copy the same 100k file to f2fs:
# cp /tmp/100k /mnt/f2fs/ <-- this copy works fine
# cp /tmp/100k /mnt/f2fs/ <-- this copy hangs forever
For the failing copy, I've seen 4k, 8k and 12k copied correctly before it
stops.

Test case #3: Copy a 150k file to f2fs:
# cp /tmp/150k /mnt/f2fs/
This never completes and will hang forever if I don't kill it. It always
seems to fail at 120k.

Any help would be appreciated.

Thanks,
John Grub

[-- Attachment #1.2: Type: text/html, Size: 2344 bytes --]

[-- Attachment #2: Type: text/plain, Size: 455 bytes --]

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk

[-- Attachment #3: Type: text/plain, Size: 179 bytes --]

_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

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

end of thread, other threads:[~2013-12-24  4:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-20 20:29 [bug] writes hanging John Grub
2013-12-21 20:15 ` John Grub
2013-12-21 21:06   ` Chris Fries
2013-12-21 22:18     ` John Grub
2013-12-23  1:13 ` Jaegeuk Kim
2013-12-24  4:28   ` John Grub

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