http://oss.sgi.com/bugzilla/show_bug.cgi?id=917
Summary: XFS mount deadlocks on recovery while in
xlog_recover_process_iunlinks
Product: XFS
Version: Current
Platform: All
OS/Version: Linux
Status: NEW
Severity: major
Priority: P3
Component: XFS kernel code
AssignedTo: xfs-masters@xxxxxxxxxxx
ReportedBy: malkin@xxxxxxxxxxx
Estimated Hours: 0.0
Classification: Unclassified
This is happening on CentOS 6, 2.6.32 kernel. A mount command hangs
indefinitely, the sysrq trace is below. It appears that the problem occurs when
xfs_btree_get_bufs is called from xfs_alloc_fix_freelist out of "while
(be32_to_cpu(agf->agf_flcount) > need)" loop. Any help would be greatly
appreciated!
[2344344.791353] mount D ffff8809f52f49c0 0 31029 1 0x00000000
[2344344.791356] ffff880777381648 0000000000000082 0000000000000000
0000000000000001
[2344344.791359] 000000000000e488 ffff880777381fd8 ffff8800324988c0
ffff880c3cdfe1c0
[2344344.791362] ffff880032498c48 0000000700000000 0000000122c99dcd
ffff8806584ce488
[2344344.791365] Call Trace:
[2344344.791368] [<ffffffff8134f6fa>] ? xfs_trans_log_buf+0xca/0xe0
[2344344.791371] [<ffffffff816766ed>] schedule_timeout+0x1dd/0x260
[2344344.791376] [<ffffffff8132146a>] ? xfs_btree_insrec+0x2da/0x5b0
[2344344.791378] [<ffffffff8131efe6>] ? xfs_btree_delrec+0x196/0x1020
[2344344.791381] [<ffffffff8167759e>] __down+0x6e/0xb0
[2344344.791384] [<ffffffff8135aad5>] ? _xfs_buf_find+0x145/0x280
[2344344.791386] [<ffffffff8108318c>] down+0x4c/0x50
[2344344.791388] [<ffffffff813599d0>] xfs_buf_lock+0x60/0xd0
[2344344.791391] [<ffffffff8135aad5>] _xfs_buf_find+0x145/0x280
[2344344.791393] [<ffffffff8135ac71>] xfs_buf_get+0x61/0x1c0
[2344344.791396] [<ffffffff8134fe6b>] xfs_trans_get_buf+0x13b/0x1c0
[2344344.791399] [<ffffffff8131cffe>] xfs_btree_get_bufs+0x3e/0x40
[2344344.791403] [<ffffffff81308870>] xfs_alloc_fix_freelist+0x140/0x490
[2344344.791406] [<ffffffff81342306>] ?
xlog_regrant_write_log_space+0x1e6/0x590
[2344344.791409] [<ffffffff81308c3c>] xfs_free_extent+0x7c/0xc0
[2344344.791413] [<ffffffff81312aa5>] xfs_bmap_finish+0x165/0x1b0
[2344344.791416] [<ffffffff81339065>] xfs_itruncate_finish+0x195/0x370
[2344344.791419] [<ffffffff8135526e>] xfs_inactive+0x3be/0x4e0
[2344344.791422] [<ffffffff8134f9f7>] ? xfs_trans_read_buf+0x217/0x410
[2344344.791425] [<ffffffff813616bd>] xfs_fs_clear_inode+0x9d/0xe0
[2344344.791427] [<ffffffff8114553e>] clear_inode+0x7e/0x100
[2344344.791430] [<ffffffff81145cc6>] generic_delete_inode+0x186/0x1c0
[2344344.791432] [<ffffffff81145d65>] generic_drop_inode+0x65/0x90
[2344344.791435] [<ffffffff81144892>] iput+0x62/0x70
[2344344.791437] [<ffffffff813471c9>]
xlog_recover_process_one_iunlink+0x169/0x180
[2344344.791440] [<ffffffff810830ca>] ? up+0x3a/0x50
[2344344.791442] [<ffffffff81347287>] xlog_recover_process_iunlinks+0xa7/0x130
[2344344.791445] [<ffffffff81347354>] xlog_recover_finish+0x44/0xd0
[2344344.791448] [<ffffffff813403fc>] xfs_log_mount_finish+0x2c/0x40
[2344344.791450] [<ffffffff8134b03a>] xfs_mountfs+0x48a/0x6f0
[2344344.791453] [<ffffffff81356003>] ? kmem_zalloc+0x33/0x50
[2344344.791456] [<ffffffff8134badb>] ? xfs_mru_cache_create+0x13b/0x170
[2344344.791459] [<ffffffff813631b5>] xfs_fs_fill_super+0x245/0x3a0
[2344344.791462] [<ffffffff8112e31c>] get_sb_bdev+0x17c/0x1e0
[2344344.791464] [<ffffffff810f9a61>] ? kstrdup+0x41/0x70
[2344344.791467] [<ffffffff81362f70>] ? xfs_fs_fill_super+0x0/0x3a0
[2344344.791469] [<ffffffff813612f8>] xfs_fs_get_sb+0x18/0x20
[2344344.791472] [<ffffffff8112cc9c>] vfs_kern_mount+0x5c/0xf0
[2344344.791474] [<ffffffff8112cda3>] do_kern_mount+0x53/0x120
[2344344.791477] [<ffffffff8114b80a>] do_mount+0x26a/0x8c0
[2344344.791480] [<ffffffff8114bf1b>] sys_mount+0xbb/0xf0
[2344344.791483] [<ffffffff8100c15b>] system_call_fastpath+0x16/0x1b
--
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
|