public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* Possible deadlock when deleting from realtime section
@ 2010-10-25 15:59 Denny Priebe
  2010-10-26  9:19 ` Denny Priebe
  2010-10-26 22:58 ` Dave Chinner
  0 siblings, 2 replies; 4+ messages in thread
From: Denny Priebe @ 2010-10-25 15:59 UTC (permalink / raw)
  To: xfs

Hi,

I'm experiencing a deadlock situation when deleting directories placed in
the realtime section. This is reproducable with kernel versions 2.6.35.7 and
2.6.36-rc8. I haven't tried final 2.6.36 yet. The same setup is working
perfectly without using the realtime section. The file system has been
created with

 mkfs.xfs -f -l logdev=/dev/sdb1 -r rtdev=/dev/sdb3,extsize=256k /dev/sdb2

and mounted with

 mount -t xfs -o logdev=/dev/sdb1,rtdev=/dev/sdb3,sunit=512,swidth=2048 \
 /dev/sdb2 /there

This is where rm blocks:

SysRq : Show Blocked State
 task                        PC stack   pid father
rm            D 0000000000000005     0  1705   1658 0x00000080
ffff88018c40d858 0000000000000086 ffff880100000000 ffff88018c40c010
ffff88018c40dfd8 00000000000148c0 ffff88018b1c2e20 ffff88018b1c31d8
ffff88018b1c31d0 00000000000148c0 00000000000148c0 ffff88018c40dfd8
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
[<ffffffffa033be9b>] xfs_ilock+0x4a/0x9a [xfs]
[<ffffffffa033c413>] xfs_iget+0x34c/0x5cd [xfs]
[<ffffffffa0351fa9>] xfs_trans_iget+0x1b/0x56 [xfs]
[<ffffffffa0313035>] xfs_rtfree_extent+0x37/0xdc [xfs]
[<ffffffffa033fce2>] ? xfs_iext_remove+0xc0/0xd2 [xfs]
[<ffffffffa0324ffe>] ? xfs_bmap_del_extent+0x2e8/0x93d [xfs]
[<ffffffffa0324e87>] xfs_bmap_del_extent+0x171/0x93d [xfs]
[<ffffffffa03506eb>] ? xfs_trans_commit_iclog+0x2ba/0x2d3 [xfs]
[<ffffffffa0325dc3>] xfs_bunmapi+0x770/0xa28 [xfs]
[<ffffffffa033e44e>] xfs_itruncate_finish+0x185/0x2b8 [xfs]
[<ffffffffa0354437>] xfs_inactive+0x1c8/0x3d5 [xfs]
[<ffffffffa035f38c>] xfs_fs_evict_inode+0xd5/0xdd [xfs]
[<ffffffff8111282b>] evict+0x22/0x92
[<ffffffff81112c60>] iput+0x1bc/0x225
[<ffffffff8110b079>] do_unlinkat+0x103/0x156
[<ffffffff811086c5>] ? path_put+0x1d/0x22
[<ffffffff81093e2c>] ? audit_syscall_entry+0x119/0x145
[<ffffffff8110b205>] sys_unlinkat+0x24/0x26
[<ffffffff81009ac2>] system_call_fastpath+0x16/0x1b

Thanks in advance for any feedback,
Denny

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-02 12:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-25 15:59 Possible deadlock when deleting from realtime section Denny Priebe
2010-10-26  9:19 ` Denny Priebe
2010-10-26 22:58 ` Dave Chinner
2010-12-02 12:20   ` Denny Priebe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox