NFS locking problem

Anton Blanchard (anton@progsoc.uts.edu.au)
Sun, 3 Jan 1999 13:57:54 +1100


A have a process stuck at sleep_on(&block.b_wait) within nlmclnt_block. It
is running vger 2.1.130 on a Sparc 4m/690 with knfsd-981204 (patches and
knfsd server).

/home is mounted using autofs off a Solaris 2.4 server.

Andrea I notice you have a comment in here about timeouts when the server
loses a callback. In the current code wont we get stuck on sleep_on() if
we never get a callback?

Cheers,
Anton

# ps axln | grep 10862
0 10037 10862 1 0 0 3992 1452 nlmclnt_blo D ? 0:00 pine

# ls -l /proc/10862/fd
lrwx------ 1 xxx users 64 Jan 3 13:07 0 -> /dev/ttyp5
lrwx------ 1 xxx users 64 Jan 3 13:07 1 -> /dev/ttyp5
lrwx------ 1 xxx users 64 Jan 3 13:07 2 -> /dev/ttyp5
lrwx------ 1 xxx users 64 Jan 3 13:07 3 -> /home/xxx/.pine-debug1
lrwx------ 1 xxx users 64 Jan 3 13:07 4 -> /tmp/.1e.cf0e9
lrwx------ 1 xxx users 64 Jan 3 13:07 5 -> /home/xxx/.nfs000cf0e90000004a

grep 10862 /proc/locks
2: POSIX ADVISORY WRITE 10862 08:01:4463 0 2147483647 f7aa71e0 f4a29a40 f0553900 00000000 00000000

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