xfs
[Top] [All Lists]

stuck in sv_wait

To: linux-xfs@xxxxxxxxxxx
Subject: stuck in sv_wait
From: Jens Axboe <axboe@xxxxxxx>
Date: Tue, 22 Aug 2000 20:44:10 +0200
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
Hi,

Doing any kind of work on an xfs mounted partition, results in processes
stuck in sv_wait... This occurs on both IDE and SCSI, with and without
kio (cluster or plain) enabled.

Although rm or cp will be uninterruptibly stuck in sv_wait, they do come
to life ocassionally and perform some I/O. But most of the time is spent
sleeping, without any I/O getting done. Here's a backtrace of rm:

0xc33a2000 00000696 00000368  0  001  stop  0xc33a2340 rm
[1]kdb> btp 696
    EBP       EIP         Function(args)
0xc33a3e2c 0xc01166d2 schedule+0x3ca
                               kernel .text 0xc0100000 0xc0116308 0xc0116bc0
           0xc01abcea _sv_wait+0xd6 (0xc2559d48, 0xc3df4714, 0x292, 0x0, 0x0)
                               kernel .text 0xc0100000 0xc01abc14 0xc01abd08
           0xc0191b1f xlog_grant_log_space+0x127 (0xc3df4680, 0xc2559d48, 
0xc6c49c00, 0x58b70, 0xc3df4680)
                               kernel .text 0xc0100000 0xc01919f8 0xc0191c38
           0xc0190109 xfs_log_reserve+0x81 (0xc6c49c00, 0x2abb8, 0x2, 
0xc5559e94, 0x69)
                               kernel .text 0xc0100000 0xc0190088 0xc0190114
           0xc019c1bf xfs_trans_reserve+0x7f (0xc5559e60, 0x0, 0x2abb8, 0x0, 
0x4)
                               kernel .text 0xc0100000 0xc019c140 0xc019c274
           0xc01a2758 xfs_inactive+0x1a8 (0xc4093968, 0x0)
                               kernel .text 0xc0100000 0xc01a25b0 0xc01a29cc
           0xc01b0a99 vn_put+0x45 (0xc66c6940)
                               kernel .text 0xc0100000 0xc01b0a54 0xc01b0ad8
           0xc01ab774 linvfs_d_iput+0x18 (0xc7061760, 0xc66c6860)
                               kernel .text 0xc0100000 0xc01ab75c 0xc01ab790
           0xc0141ecd d_delete+0x55 (0xc7061760)
                               kernel .text 0xc0100000 0xc0141e78 0xc0141f14
           0xc013c6e0 vfs_unlink+0x168 (0xc66c69e0, 0xc7061760)
                               kernel .text 0xc0100000 0xc013c578 0xc013c6f8
0xc33a3fa4 0xc013c79f sys_unlink+0xa7 (0x80522f7, 0xbffff3ac, 0xbffff44c, 
0x80522f7, 0x0)
                               kernel .text 0xc0100000 0xc013c6f8 0xc013c818
[1]more> 
           0xc010a690 system_call+0x34
                               kernel .text 0xc0100000 0xc010a65c 0xc010a694

This is pretty much preventing me from doing a final beat up of IDE
kiobuf support, since it's impossible to trash the disk. Any clues?

-- 
* Jens Axboe <axboe@xxxxxxx>
* SuSE Labs

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