2.5.68: NFS hang on write/close

Russell King (rmk@arm.linux.org.uk)
Mon, 21 Apr 2003 16:49:44 +0100


[root@assabet /root]$mount|grep flint
flint:/mnt/src on /mnt/src type nfs (rw,rsize=4096,nolock,addr=xxxxxxxxxxxx)
[root@assabet /root]$cp core /mnt/src/tests/
<hang>
SysRq : Show State

free sibling
task PC stack pid father child younger older
cp D C02371A0 19704060 136 91 (NOTLB)
[<c0236f5c>] (schedule+0x0/0x45c) from [<c02bb87c>] (nfs_wait_on_request+0x160/0x188)
r7 = C14D5ED0 r6 = 00000000 r5 = C145B5EC r4 = C145B5D0
[<c02bb71c>] (nfs_wait_on_request+0x0/0x188) from [<c02bf0ec>] (nfs_wait_on_requests+0xc8/0x130)
[<c02bf024>] (nfs_wait_on_requests+0x0/0x130) from [<c02c06cc>] (nfs_sync_file+0xa4/0xac)
[<c02c0628>] (nfs_sync_file+0x0/0xac) from [<c02b6dc8>] (nfs_file_flush+0x4c/0x84)
[<c02b6d7c>] (nfs_file_flush+0x0/0x84) from [<c0274ad4>] (filp_close+0x74/0x114)
r5 = C1FA4504 r4 = C14D4000
[<c0274a60>] (filp_close+0x0/0x114) from [<c0222300>] (ret_fast_syscall+0x0/0x30)
r7 = 00000006 r6 = 00000003 r5 = BEFFDC74 r4 = BEFFBC48
ofs: server flint not responding, still trying

I can assure you that flint is alive and well.

"core" is a 64K file, flint is running 2.4.19 with knfsd, assabet is
running 2.5.68.

Looking at the filesystem on flint, it's created a file called "core" of
zero bytes:

File: "/mnt/src/tests/core"
Size: 0 Blocks: 0 Regular File
Access: (0600/-rw-------) Uid: ( 0/ root) Gid: ( 0/ root)
Device: 907 Inode: 625311 Links: 1
Access: Mon Apr 21 16:31:39 2003
Modify: Mon Apr 21 16:44:03 2003
Change: Mon Apr 21 16:44:03 2003

NFS traffic wise, I'm seeing:

16:43:52.101873 assabet.61450 > flint.nfs: 128 getattr fh 0,0/117442816 (DF)
16:43:52.102275 flint.nfs > assabet.61450: reply ok 96 (DF)
16:43:52.103546 assabet.61451 > flint.nfs: 128 getattr fh 148,125/117442816 (DF)
16:43:52.105570 flint.nfs > assabet.61451: reply ok 96 (DF)
16:44:00.446444 assabet.61452 > flint.nfs: 128 getattr fh 138,158/117442816 (DF)
16:44:00.446868 flint.nfs > assabet.61452: reply ok 96 (DF)
16:44:03.040634 assabet.61453 > flint.nfs: 128 getattr fh 138,159/117442816 (DF)
16:44:03.041039 flint.nfs > assabet.61453: reply ok 96 (DF)
16:44:03.042908 assabet.61454 > flint.nfs: 160 setattr fh 138,159/117442816 (DF)
16:44:03.044452 flint.nfs > assabet.61454: reply ok 96 (DF)
<silence>

There don't appear to be any further NFS requests from "assabet".

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/