2.6.27.7 vanilla, project quota enabled and process stuck in D state (repeatable every time)

Dave Chinner david at fromorbit.com
Tue Dec 2 21:20:13 CST 2008


On Tue, Dec 02, 2008 at 07:49:55PM +0100, Arkadiusz Miskiewicz wrote:
> 
> Hello,
> 
> I'm trying to use xfs project quota on kernel 2.6.27.7 (vanilla, no additional 
> patches), x86_64 UP machine (SMP kernel). 
> 
> Now some processes that are using /home/users/arekm/rpm are hanging in D-state 
> like:
> 
> SysRq : Show Blocked State
>   task                        PC stack   pid father
> patch         D ffff88003a7dd080     0  3971   3965
>  ffff880034453cd8 0000000000000086 0000000000000000 ffff8800344770d0
>  ffff880034453cd8 ffff8800354d2440 ffffffff805d0340 ffff8800354d27b8
>  00000000000041ed 00000000fffc7a61 ffff8800354d27b8 0000000000000250
> Call Trace:
>  [<ffffffffa00af4c4>] ? kmem_zone_alloc+0x94/0xe0 [xfs]
>  [<ffffffff804a51cd>] __down_write_nested+0x8d/0xd0
>  [<ffffffff804a521b>] __down_write+0xb/0x10
>  [<ffffffff804a4229>] down_write+0x9/0x10
>  [<ffffffffa008deb6>] xfs_ilock+0x76/0x90 [xfs]
>  [<ffffffffa00aa7d0>] xfs_lock_two_inodes+0x70/0x120 [xfs]
>  [<ffffffffa00ac651>] xfs_remove+0x141/0x3a0 [xfs]
>  [<ffffffff804a54c9>] ? _spin_lock+0x9/0x10
>  [<ffffffffa00b7c13>] xfs_setup_inode+0x673/0xa00 [xfs]
>  [<ffffffff802d0849>] vfs_unlink+0xf9/0x140
>  [<ffffffff802d3313>] do_unlinkat+0x1a3/0x1c0
>  [<ffffffff80287ce0>] ? audit_syscall_entry+0x150/0x180
>  [<ffffffff802d3341>] sys_unlink+0x11/0x20
>  [<ffffffff8020c5aa>] system_call_fastpath+0x16/0x1b

Can you enable lockdep in your kernel and retest? That will give
use much more information about the locks that are causing problems
here....

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com




More information about the xfs mailing list