Re: 2.6.X File locking on NFS stil broken

From: linux-kernel-owner
Date: Wed Jun 09 2004 - 15:49:20 EST


On Wed, Jun 09, 2004 at 04:41:12PM -0400, Trond Myklebust wrote:

> That script works fine for me: I haven't seen any hangs on locking in
> any of the 2.6 series kernels so far.

If I mount it with nolock it runs fine too ;-). I have not enough C
knowledge to see whree the bug is.

>
> What does 'rpcinfo -p' show on the client and server?
>

Server :


sslnfs:~# rpcinfo -p
Program Vers Proto Port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 759 status
100024 1 tcp 762 status
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100021 1 udp 32779 nlockmgr
100021 3 udp 32779 nlockmgr
100021 4 udp 32779 nlockmgr
100005 1 udp 901 mountd
100005 1 tcp 904 mountd
100005 2 udp 901 mountd
100005 2 tcp 904 mountd
100005 3 udp 901 mountd
100005 3 tcp 904 mountd

Client:

root@www10:[~] > rpcinfo -p
Program Vers Proto Port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100021 1 udp 32768 nlockmgr
100021 3 udp 32768 nlockmgr
100021 4 udp 32768 nlockmgr
100024 1 udp 938 status
100024 1 tcp 941 status


Ruben


--
Ruben Puettmann
ruben@xxxxxxxxxxxxx
http://www.puettmann.net

Attachment: signature.asc
Description: Digital signature