xfs
[Top] [All Lists]

Re: Possible deadlock when deleting from realtime section

To: xfs@xxxxxxxxxxx
Subject: Re: Possible deadlock when deleting from realtime section
From: Denny Priebe <denny.priebe@xxxxxxxxxxxxxx>
Date: Tue, 26 Oct 2010 09:19:52 +0000
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=3cYZFNuvVOICt9gqae8eeIenfN/zi/iO42Ck65iQQPI=; b=bKKmLsXFMWQ1XFcBfoAMF1Hr+MRgQl3cCToYat89IxgLn3r6pjXygudIsEIBkynz/t mLPgZyottnGtg7Nhwg199lxuDS7ME6P8iz/EpTQO/Z5Rzff18iMvl/ArZF8hBXjlLf91 DFZTMnMcMeRV+j0eBckaPkbkUKQLX9mOygo+U=
Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=LmFk1FB7UjLrEy4vecLY3ZN+6u4i350R0L4xQciwxVnSCyM4ai7slq+MXtW+I5X3wj vcqucTjc2Zy92ZWAjuC8wb1+PFe5EZipZwcE2MDTwO7r1KUt3bWtHQ3wox/8VM6rT4X6 B+JS9EIuiDkH8SKTfGYaRAyk90hHWHNmnR2Vk=
In-reply-to: <AANLkTi=Zq3mh=0Q-g6oi-OqYFRsENiTjLcHfvPNsOkGa@xxxxxxxxxxxxxx>
References: <AANLkTi=Zq3mh=0Q-g6oi-OqYFRsENiTjLcHfvPNsOkGa@xxxxxxxxxxxxxx>
After that, recovery hangs as well:

SGI XFS with ACLs, security attributes, realtime, large block/inode
numbers, debug enabled
SGI XFS Quota Management subsystem
Filesystem "sdb2": Disabling barriers, not supported with external log device
XFS mounting filesystem sdb2
Starting XFS recovery on filesystem: sdb2 (logdev: /dev/sdb1)
SysRq : Show Blocked State
  task                        PC stack   pid father
mount         D 0000000000000000     0  1481   1464 0x00000080
 ffff880186c17558 0000000000000086 ffff880100000000 ffff880186c16010
 ffff880186c17fd8 00000000000148c0 ffff880187364530 ffff8801873648e8
 ffff8801873648e0 00000000000148c0 00000000000148c0 ffff880186c17fd8
Call Trace:
 [<ffffffff81437739>] rwsem_down_failed_common+0xd3/0x105
 [<ffffffff8143777e>] rwsem_down_write_failed+0x13/0x15
 [<ffffffff81202ad3>] call_rwsem_down_write_failed+0x13/0x20
 [<ffffffff81436e3d>] ? down_write+0x40/0x44
 [<ffffffffa032b7d0>] xfs_ilock+0xb7/0x114 [xfs]
 [<ffffffffa032bead>] xfs_iget+0x34c/0x61b [xfs]
 [<ffffffffa03479b7>] xfs_trans_iget+0x1b/0x54 [xfs]
 [<ffffffffa02f588e>] xfs_rtfree_extent+0x37/0x117 [xfs]
 [<ffffffffa03311f2>] ? xfs_iext_remove+0xdd/0xef [xfs]
 [<ffffffffa030b52f>] ? xfs_bmap_del_extent+0x40c/0xab5 [xfs]
 [<ffffffffa030b3ad>] xfs_bmap_del_extent+0x28a/0xab5 [xfs]
 [<ffffffffa030dce8>] xfs_bunmapi+0xa0c/0xdd2 [xfs]
 [<ffffffff810f17ef>] ? new_slab+0x199/0x1c0
 [<ffffffffa032e26a>] xfs_itruncate_finish+0x32e/0x4f1 [xfs]
 [<ffffffffa034a5d1>] xfs_inactive+0x224/0x47a [xfs]
 [<ffffffffa035615d>] xfs_fs_evict_inode+0x101/0x109 [xfs]
 [<ffffffff8111282b>] evict+0x22/0x92
 [<ffffffff81112c60>] iput+0x1bc/0x225
 [<ffffffffa033b84a>] xlog_recover_process_one_iunlink+0x118/0x17e [xfs]
 [<ffffffffa033b930>] xlog_recover_process_iunlinks+0x80/0xf7 [xfs]
 [<ffffffffa033bc5b>] xlog_recover_finish+0x54/0xbc [xfs]
 [<ffffffffa0339e46>] xfs_log_mount_finish+0x1c/0x44 [xfs]
 [<ffffffffa0342832>] xfs_mountfs+0x559/0x683 [xfs]
 [<ffffffffa034c569>] ? kmem_zalloc+0x11/0x2c [xfs]
 [<ffffffffa0342bfb>] ? xfs_mru_cache_create+0x117/0x146 [xfs]
 [<ffffffffa0357a03>] xfs_fs_fill_super+0x1d9/0x316 [xfs]
 [<ffffffff81102c48>] get_sb_bdev+0x14b/0x1ae
 [<ffffffffa035782a>] ? xfs_fs_fill_super+0x0/0x316 [xfs]
 [<ffffffffa0355c54>] xfs_fs_get_sb+0x13/0x15 [xfs]
 [<ffffffff8110229f>] vfs_kern_mount+0xb8/0x1a2
 [<ffffffff811023e7>] do_kern_mount+0x48/0xe8
 [<ffffffff811175ef>] do_mount+0x74f/0x7c6
 [<ffffffff811176e9>] sys_mount+0x83/0xbd
 [<ffffffff81009ac2>] system_call_fastpath+0x16/0x1b

Regards,
Denny

<Prev in Thread] Current Thread [Next in Thread>