From: Chris Samuel <chris@csamuel.org>
To: linux-btrfs@vger.kernel.org
Subject: Re: btrfs hung tasks
Date: Thu, 28 Jul 2011 23:31:48 +1000 [thread overview]
Message-ID: <201107282331.52020.chris@csamuel.org> (raw)
In-Reply-To: <20110728062343.GA4656@yahoo.fr>
[-- Attachment #1: Type: Text/Plain, Size: 4074 bytes --]
On Thu, 28 Jul 2011 04:23:43 PM Stephane Chazelas wrote:
> Hiya, I got below those last night. That was 3 minutes after a
> bunch of rsync and ntfsclone processes started.
Similar here with an rsync to an external USB drive (SATA) from
a local ext4 partition. This is with the Ubuntu mainline PPA
(AMD64) build of 3.0.
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.0-oneiric/linux-image-3.0.0-0300-
generic_3.0.0-0300.201107220917_amd64.deb
[175681.180099] INFO: task flush-btrfs-1:26899 blocked for more than 120 seconds.
[175681.180104] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[175681.180106] flush-btrfs-1 D ffff88021e64df80 0 26899 2 0x00000000
[175681.180111] ffff880152e597d0 0000000000000046 ffff880152e596d0 ffff880152e59fd8
[175681.180115] ffff880152e597d0 0000000000012a40 0000000000012a40 ffff880152e59fd8
[175681.180119] ffff880152e59fd8 0000000000012a40 ffff88021e64dbc0 ffff880222d28000
[175681.180124] Call Trace:
[175681.180132] [<ffffffff812e90de>] ? radix_tree_gang_lookup_slot+0x7e/0xc0
[175681.180160] [<ffffffffa0263394>] ? clear_extent_bit+0x194/0x380 [btrfs]
[175681.180166] [<ffffffff8110e129>] ? find_get_pages_contig+0x39/0xe0
[175681.180171] [<ffffffff81034f69>] ? default_spin_lock_flags+0x9/0x10
[175681.180175] [<ffffffff815dfd84>] ? _raw_spin_lock_irqsave+0x34/0x50
[175681.180179] [<ffffffff81084efc>] ? prepare_to_wait+0x7c/0x90
[175681.180192] [<ffffffffa02430c9>] wait_current_trans+0x99/0x100 [btrfs]
[175681.180195] [<ffffffff81084c40>] ? wake_up_bit+0x40/0x40
[175681.180198] [<ffffffff815dfd3e>] ? _raw_spin_lock+0xe/0x20
[175681.180210] [<ffffffffa0244ef8>] start_transaction+0x138/0x270 [btrfs]
[175681.180223] [<ffffffffa0245085>] btrfs_join_transaction+0x15/0x20 [btrfs]
[175681.180236] [<ffffffffa024a952>] cow_file_range+0x82/0x390 [btrfs]
[175681.180239] [<ffffffff815dfd3e>] ? _raw_spin_lock+0xe/0x20
[175681.180252] [<ffffffffa0264228>] ? test_range_bit+0x88/0x140 [btrfs]
[175681.180266] [<ffffffffa024c6af>] run_delalloc_range+0x4f/0x80 [btrfs]
[175681.180279] [<ffffffffa0266ac1>] __extent_writepage+0x4b1/0x650 [btrfs]
[175681.180283] [<ffffffff812e9a40>] ? radix_tree_gang_lookup_tag_slot+0x90/0xd0
[175681.180287] [<ffffffff8110d125>] ? find_get_pages_tag+0x45/0x100
[175681.180300] [<ffffffffa0266138>] extent_write_cache_pages+0x208/0x2d0 [btrfs]
[175681.180314] [<ffffffffa0262720>] ? flush_epd_write_bio+0x50/0x50 [btrfs]
[175681.180327] [<ffffffffa0266610>] ? find_lock_delalloc_range+0x1d0/0x1d0 [btrfs]
[175681.180342] [<ffffffffa0266254>] extent_writepages+0x54/0x70 [btrfs]
[175681.180355] [<ffffffffa0250520>] ? btrfs_page_mkwrite+0x2d0/0x2d0 [btrfs]
[175681.180369] [<ffffffffa0246f18>] btrfs_writepages+0x28/0x30 [btrfs]
[175681.180372] [<ffffffff81117c51>] do_writepages+0x21/0x40
[175681.180376] [<ffffffff81191514>] writeback_single_inode+0xf4/0x210
[175681.180380] [<ffffffff8105844e>] ? put_prev_entity+0x2e/0x70
[175681.180383] [<ffffffff811918e0>] writeback_sb_inodes+0xe0/0x190
[175681.180386] [<ffffffff81191aff>] writeback_inodes_wb+0xcf/0xf0
[175681.180389] [<ffffffff81191d63>] wb_writeback+0x243/0x370
[175681.180393] [<ffffffff8107184b>] ? lock_timer_base+0x3b/0x70
[175681.180396] [<ffffffff81191f19>] wb_check_old_data_flush+0x89/0xa0
[175681.180398] [<ffffffff8119204b>] wb_do_writeback+0x8b/0xe0
[175681.180401] [<ffffffff811920a0>] ? wb_do_writeback+0xe0/0xe0
[175681.180404] [<ffffffff81192153>] bdi_writeback_thread+0xb3/0x260
[175681.180406] [<ffffffff811920a0>] ? wb_do_writeback+0xe0/0xe0
[175681.180409] [<ffffffff81084577>] kthread+0x97/0xa0
[175681.180413] [<ffffffff815e94a4>] kernel_thread_helper+0x4/0x10
[175681.180416] [<ffffffff810844e0>] ? kthread_bind+0x80/0x80
[175681.180419] [<ffffffff815e94a0>] ? gs_change+0x13/0x13
--
Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC
This email may come with a PGP signature as a file. Do not panic.
For more info see: http://en.wikipedia.org/wiki/OpenPGP
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 482 bytes --]
next prev parent reply other threads:[~2011-07-28 13:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-28 6:23 btrfs hung tasks Stephane Chazelas
2011-07-28 8:46 ` Stephane Chazelas
2011-07-28 13:31 ` Chris Samuel [this message]
2011-07-28 14:22 ` Josef Bacik
2011-07-29 12:29 ` Stephane Chazelas
2011-07-29 13:05 ` Josef Bacik
[not found] <CAEhu1-4bzjDDWU-PXRvbCdijQL28+fDiCq7HprH6+Mwv8aL3jA@mail.gmail.com>
2013-10-13 15:50 ` Hugo Mills
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=201107282331.52020.chris@csamuel.org \
--to=chris@csamuel.org \
--cc=linux-btrfs@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).