From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Samuel Subject: Re: btrfs hung tasks Date: Thu, 28 Jul 2011 23:31:48 +1000 Message-ID: <201107282331.52020.chris@csamuel.org> References: <20110728062343.GA4656@yahoo.fr> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart12994411.at5y9xcjEJ"; protocol="application/pgp-signature"; micalg=pgp-sha1 To: linux-btrfs@vger.kernel.org Return-path: In-Reply-To: <20110728062343.GA4656@yahoo.fr> List-ID: --nextPart12994411.at5y9xcjEJ Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable 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 se= conds. [175681.180104] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables= this message. [175681.180106] flush-btrfs-1 D ffff88021e64df80 0 26899 2 0x000= 00000 [175681.180111] ffff880152e597d0 0000000000000046 ffff880152e596d0 ffff880= 152e59fd8 [175681.180115] ffff880152e597d0 0000000000012a40 0000000000012a40 ffff880= 152e59fd8 [175681.180119] ffff880152e59fd8 0000000000012a40 ffff88021e64dbc0 ffff880= 222d28000 [175681.180124] Call Trace: [175681.180132] [] ? radix_tree_gang_lookup_slot+0x7e/0x= c0 [175681.180160] [] ? clear_extent_bit+0x194/0x380 [btrfs] [175681.180166] [] ? find_get_pages_contig+0x39/0xe0 [175681.180171] [] ? default_spin_lock_flags+0x9/0x10 [175681.180175] [] ? _raw_spin_lock_irqsave+0x34/0x50 [175681.180179] [] ? prepare_to_wait+0x7c/0x90 [175681.180192] [] wait_current_trans+0x99/0x100 [btrfs] [175681.180195] [] ? wake_up_bit+0x40/0x40 [175681.180198] [] ? _raw_spin_lock+0xe/0x20 [175681.180210] [] start_transaction+0x138/0x270 [btrfs] [175681.180223] [] btrfs_join_transaction+0x15/0x20 [btr= fs] [175681.180236] [] cow_file_range+0x82/0x390 [btrfs] [175681.180239] [] ? _raw_spin_lock+0xe/0x20 [175681.180252] [] ? test_range_bit+0x88/0x140 [btrfs] [175681.180266] [] run_delalloc_range+0x4f/0x80 [btrfs] [175681.180279] [] __extent_writepage+0x4b1/0x650 [btrfs] [175681.180283] [] ? radix_tree_gang_lookup_tag_slot+0x9= 0/0xd0 [175681.180287] [] ? find_get_pages_tag+0x45/0x100 [175681.180300] [] extent_write_cache_pages+0x208/0x2d0 = [btrfs] [175681.180314] [] ? flush_epd_write_bio+0x50/0x50 [btrf= s] [175681.180327] [] ? find_lock_delalloc_range+0x1d0/0x1d= 0 [btrfs] [175681.180342] [] extent_writepages+0x54/0x70 [btrfs] [175681.180355] [] ? btrfs_page_mkwrite+0x2d0/0x2d0 [btr= fs] [175681.180369] [] btrfs_writepages+0x28/0x30 [btrfs] [175681.180372] [] do_writepages+0x21/0x40 [175681.180376] [] writeback_single_inode+0xf4/0x210 [175681.180380] [] ? put_prev_entity+0x2e/0x70 [175681.180383] [] writeback_sb_inodes+0xe0/0x190 [175681.180386] [] writeback_inodes_wb+0xcf/0xf0 [175681.180389] [] wb_writeback+0x243/0x370 [175681.180393] [] ? lock_timer_base+0x3b/0x70 [175681.180396] [] wb_check_old_data_flush+0x89/0xa0 [175681.180398] [] wb_do_writeback+0x8b/0xe0 [175681.180401] [] ? wb_do_writeback+0xe0/0xe0 [175681.180404] [] bdi_writeback_thread+0xb3/0x260 [175681.180406] [] ? wb_do_writeback+0xe0/0xe0 [175681.180409] [] kthread+0x97/0xa0 [175681.180413] [] kernel_thread_helper+0x4/0x10 [175681.180416] [] ? kthread_bind+0x80/0x80 [175681.180419] [] ? gs_change+0x13/0x13 =2D-=20 Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC This email may come with a PGP signature as a file. Do not panic. =46or more info see: http://en.wikipedia.org/wiki/OpenPGP --nextPart12994411.at5y9xcjEJ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUATjFkxI1yjaOTJg85AQKD5AgAskavYJDiqrF1bV5t3IE4vWqcTiuoDmki f8BuEyuLJUsaiCHnEWx62Z9QY9rrOzp714pj4qj6QL8UoWrDM1VXAsGNBMhpbWff K4Vx+36kvsRqreKKbym5b+xcJsNmwaUL6IAWK3Glumc/Qq3Y2h33khYrlPolAm0I 9SUu39TSobhVRGMHVwRageTR0/Q/xsMLgoppvPtelMF0icAJPPE253BWfSZs1UUB jQUU0vaps8D9cqZWYIMLByflg+mDEPyNK+5LF6Hf675Cq3XuuC8VTY0uaNkkAdjI d3sv//H4Tmajj7tIGrtSVkZXe3qiLPnayykfuDLwcBqCSynKor16mA== =ybz0 -----END PGP SIGNATURE----- --nextPart12994411.at5y9xcjEJ--