Re: mkfs.f2fs gets stuck with "blk_update_request: bio idx 0 >= vcnt 0" on 3.8

2013-04-06 Thread Namjae Jeon
2013/4/7, Max Filippov : > On Sun, Apr 7, 2013 at 4:36 AM, Namjae Jeon wrote: >> >> >> 2013/4/6 Max Filippov >>> >>> Hi Namjae, >>> >>> On Fri, Apr 5, 2013 at 11:57 AM, Namjae Jeon >>> wrote: >>> > Hi. Max. >>> > >>> > I have a question. >>> > Your mmc host driver set to host->max_discard_to by

Re: mkfs.f2fs gets stuck with "blk_update_request: bio idx 0 >= vcnt 0" on 3.8

2013-04-06 Thread Max Filippov
On Sun, Apr 7, 2013 at 5:58 AM, Shaohua Li wrote: > On Fri, Apr 05, 2013 at 06:18:10AM +0400, Max Filippov wrote: >> On Fri, Apr 5, 2013 at 5:53 AM, Shaohua Li wrote: >> > On Thu, Apr 04, 2013 at 06:00:18AM +0400, Max Filippov wrote: >> >> [...] >> >> >> the commit 0cfbcafcae8b7364b5fa96c2b26ccde

Re: mkfs.f2fs gets stuck with "blk_update_request: bio idx 0 >= vcnt 0" on 3.8

2013-04-06 Thread Shaohua Li
On Fri, Apr 05, 2013 at 06:18:10AM +0400, Max Filippov wrote: > On Fri, Apr 5, 2013 at 5:53 AM, Shaohua Li wrote: > > On Thu, Apr 04, 2013 at 06:00:18AM +0400, Max Filippov wrote: > > [...] > > >> the commit 0cfbcafcae8b7364b5fa96c2b26ccde7a3a296a9 'block: add plug > >> for blkdev_issue_discard'

Re: mkfs.f2fs gets stuck with "blk_update_request: bio idx 0 >= vcnt 0" on 3.8

2013-04-05 Thread Max Filippov
Hi Namjae, On Fri, Apr 5, 2013 at 11:57 AM, Namjae Jeon wrote: > Hi. Max. > > I have a question. > Your mmc host driver set to host->max_discard_to by some value instead > of not zero ? I believe it's zero, because the only place where I can see it initialized (sdhci_add_host in the drivers/mmc/

Re: mkfs.f2fs gets stuck with "blk_update_request: bio idx 0 >= vcnt 0" on 3.8

2013-04-05 Thread Namjae Jeon
Hi. Max. I have a question. Your mmc host driver set to host->max_discard_to by some value instead of not zero ? Thanks. 2013/4/5, Max Filippov : > On Fri, Apr 5, 2013 at 5:53 AM, Shaohua Li wrote: >> On Thu, Apr 04, 2013 at 06:00:18AM +0400, Max Filippov wrote: > > [...] > >>> the commit 0cfbc

Re: mkfs.f2fs gets stuck with "blk_update_request: bio idx 0 >= vcnt 0" on 3.8

2013-04-04 Thread Max Filippov
On Fri, Apr 5, 2013 at 5:53 AM, Shaohua Li wrote: > On Thu, Apr 04, 2013 at 06:00:18AM +0400, Max Filippov wrote: [...] >> the commit 0cfbcafcae8b7364b5fa96c2b26ccde7a3a296a9 'block: add plug >> for blkdev_issue_discard' >> have added merge opportunity for DISCARD requests. When I do >> mkfs.f2f

Re: mkfs.f2fs gets stuck with "blk_update_request: bio idx 0 >= vcnt 0" on 3.8

2013-04-04 Thread Shaohua Li
On Thu, Apr 04, 2013 at 06:00:18AM +0400, Max Filippov wrote: > Hi, > > On Tue, Apr 2, 2013 at 7:41 PM, Max Filippov wrote: > > I'm trying to create f2fs filesystem on SD card on pandaboard using > > f2fs-tools v1.0.0. > > It works fine on Linus' v3.6, but fails on both v3.8 and stable v3.8.5: >

Re: mkfs.f2fs gets stuck with "blk_update_request: bio idx 0 >= vcnt 0" on 3.8

2013-04-03 Thread Max Filippov
Hi, On Tue, Apr 2, 2013 at 7:41 PM, Max Filippov wrote: > I'm trying to create f2fs filesystem on SD card on pandaboard using > f2fs-tools v1.0.0. > It works fine on Linus' v3.6, but fails on both v3.8 and stable v3.8.5: > > # mkfs.f2fs /dev/mmcblk0p3 > Info: sector size = 512 > Info: total secto

Re: mkfs.f2fs gets stuck with "blk_update_request: bio idx 0 >= vcnt 0" on 3.8

2013-04-02 Thread Max Filippov
On Tue, Apr 2, 2013 at 10:27 AM, Vyacheslav Dubeyko wrote: > On Tue, 2013-04-02 at 00:21 +0400, Max Filippov wrote: [...] >> # cat /proc/partitions >> major minor #blocks name >> >> 17907782400 mmcblk0 >> 1791 40131 mmcblk0p1 >> 1792 32130 mmcblk0p2 >>

Re: mkfs.f2fs gets stuck with "blk_update_request: bio idx 0 >= vcnt 0" on 3.8

2013-04-01 Thread Vyacheslav Dubeyko
On Tue, 2013-04-02 at 00:21 +0400, Max Filippov wrote: [snip] > > > > Could you share "cat /proc/partitions" and "strace mkfs.f2fs > > /dev/mmcblk0p3" outputs? I think that these outputs can be very useful for > > issue analysis. > > > > By the way, can you reproduce the issue on another SD-ca

Re: mkfs.f2fs gets stuck with "blk_update_request: bio idx 0 >= vcnt 0" on 3.8

2013-04-01 Thread Max Filippov
On 04/01/2013 11:27 PM, Vyacheslav Dubeyko wrote: > > On Apr 1, 2013, at 9:19 PM, Max Filippov wrote: > >> Hi, >> >> I'm trying to create f2fs filesystem on SD card on pandaboard using >> f2fs-tools v1.0.0. >> It works fine on Linus' v3.6, but fails on both v3.8 and stable v3.8.5: >> >> # mkfs.f2

Re: mkfs.f2fs gets stuck with "blk_update_request: bio idx 0 >= vcnt 0" on 3.8

2013-04-01 Thread Vyacheslav Dubeyko
On Apr 1, 2013, at 9:19 PM, Max Filippov wrote: > Hi, > > I'm trying to create f2fs filesystem on SD card on pandaboard using > f2fs-tools v1.0.0. > It works fine on Linus' v3.6, but fails on both v3.8 and stable v3.8.5: > > # mkfs.f2fs /dev/mmcblk0p3 > Info: sector size = 512 > Info: total sec

mkfs.f2fs gets stuck with "blk_update_request: bio idx 0 >= vcnt 0" on 3.8

2013-04-01 Thread Max Filippov
Hi, I'm trying to create f2fs filesystem on SD card on pandaboard using f2fs-tools v1.0.0. It works fine on Linus' v3.6, but fails on both v3.8 and stable v3.8.5: # mkfs.f2fs /dev/mmcblk0p3 Info: sector size = 512 Info: total sectors = 11370496 (in 512bytes) Info: zone aligned segment0 blkaddr: 5