[CSL #248914] [OpenAFS] flock() behavior openafs-1.2.11

Derrick J Brashear shadow@dementia.org
Wed, 1 Dec 2004 15:37:14 -0500 (EST)


On Wed, 1 Dec 2004, David Thompson wrote:

> time 962.599815, pid 21833: Open 0x422de2c4 flags 0x0
> time 962.599815, pid 21833: Open 0x422de2c4 flags 0xf423f
> time 962.599815, pid 21833: Analyze RPC op 13 conn 0x2128b4c0 code 0xd user
> 0x417529fa
> time 962.599815, pid 21833: Returning code 13 from 1
> time 962.599815, pid 21833: Returning code 13 from 3

HandleFlock is 1
afs_lockctl (HandleFlock's caller) is 3.

both should not be CheckCoding, but that's not really the problem.

I assume you're hitting the code which either calls over the network to 
set or release a lock, and the fileserver is telling you to piss off. 
on the clients, tcpdump -vv -s 1500 port 7000
and then run your test.