From: Tao Ma <tm@tao.ma>
To: Felipe Wilhelms Damasio - Taghos <felipewd@taghos.com.br>
Cc: Theodore Ts'o <tytso@mit.edu>, Andreas Dilger <adilger@sun.com>,
linux-ext4@vger.kernel.org
Subject: Re: Ext4 flush blocked
Date: Fri, 15 Jul 2011 11:31:30 +0800 [thread overview]
Message-ID: <4E1FB492.4070300@tao.ma> (raw)
In-Reply-To: <4E1F9796.5020107@taghos.com.br>
Hi Felipe,
On 07/15/2011 09:27 AM, Felipe Wilhelms Damasio - Taghos wrote:
> Hi Again,
>
> Em 14/07/2011 22:19, Felipe Wilhelms Damasio - Taghos escreveu:
>> After a while using (about an hour) I get a lot of:
>>
>> INFO: task flush-8:16:6650 blocked for more than 120 seconds.
>
> I also saw this:
>
> INFO: task jbd2/sdb1-8:1672 blocked for more than 120 seconds.
> "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
> jbd2/sdb1-8 D 0000000000000004 0 1672 2 0x00000000
> ffff88042e171aa0 0000000000000046 0000000000012500 ffff88042e171fd8
> ffff88042e171fd8 ffff88042c2eadf0 0000000000012500 0000000000012500
> 0000000000012500 ffff88042c2eadf0 ffff88042e0d0690 ffff88042c2eb098
> Call Trace:
> [<ffffffff8151c837>] io_schedule+0x7b/0xc2
> [<ffffffff8108fceb>] sync_page+0x41/0x45
> [<ffffffff8151cc1a>] __wait_on_bit+0x47/0x79
> [<ffffffff8108fcaa>] ? sync_page+0x0/0x45
> [<ffffffff8108fea1>] wait_on_page_bit+0x6e/0x75
> [<ffffffff8104ed1c>] ? wake_bit_function+0x0/0x2a
> [<ffffffff81097a36>] ? pagevec_lookup_tag+0x22/0x2b
> [<ffffffff810965cb>] write_cache_pages+0x1d5/0x2e9
> [<ffffffff81095ee0>] ? __writepage+0x0/0x2f
> [<ffffffff810966fe>] generic_writepages+0x1f/0x25
> [<ffffffff8114251d>] jbd2_journal_commit_transaction+0x35b/0x10b2
> [<ffffffff81035288>] ? get_parent_ip+0x11/0x41
> [<ffffffff811468bf>] kjournald2+0xd2/0x22b
> [<ffffffff8104ece4>] ? autoremove_wake_function+0x0/0x38
> [<ffffffff8151dbdf>] ? _raw_spin_unlock_irqrestore+0x2c/0x37
> [<ffffffff811467ed>] ? kjournald2+0x0/0x22b
> [<ffffffff8104e892>] kthread+0x7d/0x85
> [<ffffffff810037d4>] kernel_thread_helper+0x4/0x10
> [<ffffffff8104e815>] ? kthread+0x0/0x85
> [<ffffffff810037d0>] ? kernel_thread_helper+0x0/0x10
>
>
> Don't know if this helps, though.
>
> Is there something I can try to fix this?
could you please try to change io scheduler to 'deadline'?
We have met with some similar warnings and changing to 'deadline' makes
ext4 happy.
Thanks
Tao
next prev parent reply other threads:[~2011-07-15 3:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4E1F95B8.4050005@taghos.com.br>
2011-07-15 1:27 ` Ext4 flush blocked Felipe Wilhelms Damasio - Taghos
2011-07-15 3:31 ` Tao Ma [this message]
2011-07-17 18:54 ` Felipe Wilhelms Damasio - Taghos
2011-07-15 1:33 Felipe Wilhelms Damasio - Taghos
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=4E1FB492.4070300@tao.ma \
--to=tm@tao.ma \
--cc=adilger@sun.com \
--cc=felipewd@taghos.com.br \
--cc=linux-ext4@vger.kernel.org \
--cc=tytso@mit.edu \
/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).