hung_task_timeout_secs call traces involving btrfs are logged while copying data using tar.
Issue
- While copying data using tar the following Call Trace occurs:
INFO: task tar:14596 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
tar D 0000000000000002 0 14596 14595 0x00000080
ffff8808e76ad958 0000000000000086 0000000000000000 000000000000118b
0000000000001000 000000003376c000 ffff8808e76ad8f8 0000000000000010
ffff88094b251b38 ffff8808e76adfd8 000000000000f4a8 ffff88094b251b38
Call Trace:
[<ffffffff814f1e75>] schedule_timeout+0x215/0x2e0
[<ffffffffa0568cdd>] ? btrfs_set_path_blocking+0x3d/0x50 [btrfs]
[<ffffffffa05714af>] ? btrfs_search_slot+0x71f/0x8a0 [btrfs]
[<ffffffff814f1af3>] wait_for_common+0x123/0x180
[<ffffffff8105f4f0>] ? default_wake_function+0x0/0x20
[<ffffffff814f1c0d>] wait_for_completion+0x1d/0x20
[<ffffffff811a0165>] writeback_inodes_sb_nr+0x75/0xa0
[<ffffffff811a03cc>] writeback_inodes_sb_nr_if_idle+0x5c/0x80
[<ffffffffa057664d>] shrink_delalloc+0xfd/0x180 [btrfs]
[<ffffffffa0576de4>] btrfs_delalloc_reserve_metadata+0x164/0x180 [btrfs]
[<ffffffffa0576e3b>] btrfs_delalloc_reserve_space+0x3b/0x60 [btrfs]
[<ffffffffa059a537>] btrfs_file_aio_write+0x627/0x9d0 [btrfs]
[<ffffffff81172530>] ? generic_file_open+0x0/0x30
[<ffffffff8117467f>] ? __dentry_open+0x23f/0x360
[<ffffffff81176a2a>] do_sync_write+0xfa/0x140
[<ffffffff811881d4>] ? do_filp_open+0xbc4/0xd60
[<ffffffff81090e60>] ? autoremove_wake_function+0x0/0x40
[<ffffffff81183875>] ? putname+0x35/0x50
[<ffffffff8120c9c6>] ? security_file_permission+0x16/0x20
[<ffffffff81176df4>] vfs_write+0x184/0x1a0
[<ffffffff810d4b12>] ? audit_syscall_entry+0x272/0x2a0
[<ffffffff81177731>] sys_write+0x51/0x90
[<ffffffff8100b0f2>] system_call_fastpath+0x16/0x1b
Environment
- Red Hat Enterprise Linux 6.2
- btrfs-progs-0.19-12.el6.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.