From: Ryusuke Konishi <konishi.ryusuke@gmail.com>
To: llucax@gmail.com
Cc: konishi.ryusuke@lab.ntt.co.jp, linux-kernel@vger.kernel.org,
albertito@blitiri.com.ar, users@nilfs.org, llucax@gmail.com
Subject: Re: NILFS2 get stuck after bio_alloc() fail
Date: Mon, 15 Jun 2009 03:02:45 +0900 (JST) [thread overview]
Message-ID: <20090615.030245.104791670.konishi.ryusuke@gmail.com> (raw)
In-Reply-To: <20090614153256.GA4020@homero.springfield.home>
Hi Leandro,
On Sun, 14 Jun 2009 12:32:56 -0300, Leandro Lucarella wrote:
> Ryusuke Konishi, el 14 de junio a las 12:45 me escribiste:
>> Hi,
>> On Sat, 13 Jun 2009 22:32:11 -0300, Leandro Lucarella wrote:
>> > Hi!
>> >
>> > While testing nilfs2 (using 2.6.30) doing some "cp"s and "rm"s, I noticed
>> > sometimes they got stucked in D state, and the kernel had said the
>> > following message:
>> >
>> > NILFS: IO error writing segment
>> >
>> > A friend gave me a hand and after adding some printk()s we found out that
>> > the problem seems to occur when bio_alloc()s inside nilfs_alloc_seg_bio()
>> > fail, making it return NULL; but we don't know how that causes the
>> > processes to get stucked.
>>
>> Thank you for reporting this issue.
>>
>> Could you get stack dump of the stuck nilfs task?
>> It is acquirable as follows if you enabled magic sysrq feature:
>>
>> # echo t > /proc/sysrq-trigger
>>
>> I will dig into the process how it got stuck.
>
> Here is (what I thought it's) the important stuff:
<snip>
> 'rm' is the "original" stuck process, 'umount' got stuck after that, when I
> tried to umount the nilfs (it was mounted in a loop device).
>
> Here is the complete trace:
> http://pastebin.lugmen.org.ar/4931
Thank you for your help.
According to your log, there seems to be a leakage in clear processing
of the writeback flag on pages. I will review the error path of log
writer to narrow down the cause.
Regards,
Ryusuke Konishi
next prev parent reply other threads:[~2009-06-14 18:02 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-14 1:32 Leandro Lucarella
2009-06-14 1:52 ` Alberto Bertogli
2009-06-14 6:30 ` Ryusuke Konishi
2009-06-14 7:00 ` Pekka Enberg
2009-06-14 12:34 ` Ryusuke Konishi
2009-06-14 3:45 ` Ryusuke Konishi
2009-06-14 15:32 ` Leandro Lucarella
2009-06-14 18:02 ` Ryusuke Konishi [this message]
2009-06-14 18:13 ` Leandro Lucarella
2009-06-18 17:34 ` [PATCH] nilfs2: fix hang problem after bio_alloc() failed Ryusuke Konishi
2009-06-21 11:08 ` Andi Kleen
2009-06-21 12:34 ` [NILFS users] " Ryusuke Konishi
2009-06-23 4:40 ` NILFS2 get stuck after bio_alloc() fail Ryusuke Konishi
2009-06-23 12:55 ` Leandro Lucarella
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=20090615.030245.104791670.konishi.ryusuke@gmail.com \
--to=konishi.ryusuke@gmail.com \
--cc=albertito@blitiri.com.ar \
--cc=konishi.ryusuke@lab.ntt.co.jp \
--cc=linux-kernel@vger.kernel.org \
--cc=llucax@gmail.com \
--cc=users@nilfs.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®