http://oss.sgi.com/bugzilla/show_bug.cgi?id=805
Summary: Lockup when copying large file to XFS partition
Product: Linux XFS
Version: Current
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: XFS kernel code
AssignedTo: xfs-masters@xxxxxxxxxxx
ReportedBy: peter.klotz@xxxxxx
A command like this
sudo dd if=/dev/zero of=/media/xfsdisk/zero bs=100M count=2000
causes lots of backtraces like these in /var/log/messages
[ 6278.172006] Pid: 7362, comm: dd Not tainted 2.6.27.10-custom #1
[ 6278.172006] RIP: 0010:[<ffffffff802a2a6c>] [<ffffffff802a2a6c>]
find_get_pages+0x6c/0x110
[ 6278.172006] RSP: 0018:ffff8800b38a73e8 EFLAGS: 00000246
[ 6278.172006] RAX: ffff88013f4ee7f8 RBX: ffff8800b38a7428 RCX: 0000000000000000
[ 6278.172006] RDX: 0000000000000003 RSI: 0000000000000000 RDI: ffffe20001b34100
[ 6278.172006] RBP: ffff8800badd3390 R08: ffffe20001b34108 R09: 000000000000000e
[ 6278.172006] R10: 0000000000000035 R11: 0000000001516336 R12: ffffffff8030ea3e
[ 6278.172006] R13: ffff8800b38a7368 R14: 01ffffff8037c627 R15: ffff8800b38a7378
[ 6278.172006] FS: 00007f1909df76e0(0000) GS:ffffffff806b1a80(0000)
knlGS:0000000000000000
[ 6278.172006] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 6278.172006] CR2: 00007f31252f4000 CR3: 0000000103428000 CR4: 00000000000026e0
[ 6278.172006] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 6278.172006] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 6278.172006]
[ 6278.172006] Call Trace:
[ 6278.172006] [<ffffffff802a2a43>] ? find_get_pages+0x43/0x110
[ 6278.172006] [<ffffffff802ad644>] ? pagevec_lookup+0x24/0x30
[ 6278.172006] [<ffffffffa082301d>] ? xfs_cluster_write+0xad/0x180 [xfs]
[ 6278.172006] [<ffffffffa0823588>] ? xfs_page_state_convert+0x498/0x760 [xfs]
[ 6278.172006] [<ffffffffa08239b1>] ? xfs_vm_writepage+0x71/0x120 [xfs]
[ 6278.172006] [<ffffffff802b0446>] ? shrink_page_list+0x586/0x790
[ 6278.172006] [<ffffffff802b07f2>] ? shrink_inactive_list+0x1a2/0x4b0
[ 6278.172006] [<ffffffff804e6276>] ? _spin_lock_irq+0x16/0x20
[ 6278.172006] [<ffffffff802ab4b4>] ? get_dirty_limits+0x14/0x2b0
[ 6278.172006] [<ffffffff802b0b7b>] ? shrink_zone+0x7b/0x160
[ 6278.172006] [<ffffffff802b0d65>] ? do_try_to_free_pages+0x105/0x400
[ 6278.172006] [<ffffffff802b1157>] ? try_to_free_pages+0x67/0x70
[ 6278.172006] [<ffffffff802afce0>] ? isolate_pages_global+0x0/0x50
[ 6278.172006] [<ffffffff802a95d7>] ? __alloc_pages_internal+0x237/0x510
[ 6278.172006] [<ffffffff802cc32d>] ? alloc_pages_current+0xad/0x110
[ 6278.172006] [<ffffffff802a2fd7>] ? __page_cache_alloc+0x67/0x80
[ 6278.172006] [<ffffffff802a3bd3>] ? __grab_cache_page+0x63/0xb0
[ 6278.172006] [<ffffffff8030c659>] ? block_write_begin+0x89/0xf0
[ 6278.172006] [<ffffffffa082244a>] ? xfs_vm_write_begin+0x2a/0x30 [xfs]
[ 6278.172006] [<ffffffffa0822040>] ? xfs_get_blocks+0x0/0x20 [xfs]
[ 6278.172006] [<ffffffff802a3d68>] ? generic_file_buffered_write+0x148/0x6a0
[ 6278.172006] [<ffffffff8023ef6e>] ? try_to_wake_up+0x11e/0x2e0
[ 6278.172006] [<ffffffff804e637e>] ? _spin_lock+0xe/0x20
[ 6278.172006] [<ffffffffa08099e9>] ? xfs_log_move_tail+0x139/0x190 [xfs]
[ 6278.172006] [<ffffffffa082b353>] ? xfs_write+0x6b3/0x9b0 [xfs]
[ 6278.172006] [<ffffffff8023e852>] ? check_preempt_wakeup+0x1a2/0x1f0
[ 6278.172006] [<ffffffff802368d6>] ? __dequeue_entity+0x36/0x90
[ 6278.172006] [<ffffffffa0826d08>] ? xfs_file_aio_write+0x58/0x60 [xfs]
[ 6278.172006] [<ffffffff802dfcf9>] ? do_sync_write+0xf9/0x140
[ 6278.172006] [<ffffffff804e3c39>] ? thread_return+0x3d/0x654
[ 6278.172006] [<ffffffff8025ee00>] ? autoremove_wake_function+0x0/0x40
[ 6278.172006] [<ffffffff803987e0>] ? __clear_user+0x40/0x70
[ 6278.172006] [<ffffffff803987c1>] ? __clear_user+0x21/0x70
[ 6278.172006] [<ffffffff80315536>] ? inotify_inode_queue_event+0x16/0x100
[ 6278.172006] [<ffffffff80357cc9>] ? cap_file_permission+0x9/0x10
[ 6278.172006] [<ffffffff80356cb6>] ? security_file_permission+0x16/0x20
[ 6278.172006] [<ffffffff802e03bb>] ? vfs_write+0xcb/0x190
[ 6278.172006] [<ffffffff802e0575>] ? sys_write+0x55/0x90
[ 6278.172006] [<ffffffff8020c7aa>] ? system_call_fastpath+0x16/0x1b
[ 6278.172006]
[ 6343.668002] BUG: soft lockup - CPU#0 stuck for 61s! [dd:7362]
It is a vanilla 2.6.27.10 x86_64 kernel. The filesystem was created with
mkfs.xfs 2.9.8.
--
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
|