linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
From: Jaegeuk Kim <jaegeuk.kim@samsung.com>
To: John Grub <john.f.grub@gmail.com>
Cc: linux-f2fs-devel@lists.sourceforge.net
Subject: Re: [bug] writes hanging
Date: Mon, 23 Dec 2013 10:13:57 +0900	[thread overview]
Message-ID: <1387761237.2101.284.camel@kjgkr> (raw)
In-Reply-To: <CADbsYN1b-jC85e=N+yH=PJTxOWMNBnGaa6a0cVHEcJQfxtRYOw@mail.gmail.com>

Hi,

I couldn't get any error when replaying your scenario on my arm board.
So, could you send the backtrace of any hanged process?

# cat /proc/[pid]/stack

Thanks,

2013-12-20 (금), 12:29 -0800, John Grub:
> 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
> 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
> ------------------------------------------------------------------------------
> 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
> _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

-- 
Jaegeuk Kim
Samsung



------------------------------------------------------------------------------
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
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

  parent reply	other threads:[~2013-12-23  1:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2013-12-24  4:28   ` John Grub

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=1387761237.2101.284.camel@kjgkr \
    --to=jaegeuk.kim@samsung.com \
    --cc=john.f.grub@gmail.com \
    --cc=linux-f2fs-devel@lists.sourceforge.net \
    /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;
as well as URLs for NNTP newsgroup(s).