[OpenAFS-devel] flock Input/output error
Hans-Werner Paulsen
hans@MPA-Garching.MPG.DE
Thu, 12 Aug 2010 09:32:46 +0200
On Wed, Aug 11, 2010 at 11:53:16AM -0400, Derrick Brashear wrote:
> On Wed, Aug 11, 2010 at 11:14 AM, Hans-Werner Paulsen
> <hans@mpa-garching.mpg.de> wrote:
> >
> > When running the fileserver with -auditlog the output is:
> > Wed Aug 11 16:27:25 2010 [4] EVENT AFS_SRX_SetLock CODE 0 NAME ...
> > ...
> > there are no lines with CODE not 0.
>=20
> How many setlock lines are there, compared to the number of flocks atte=
mpted?
the number of "EVENT AFS_SRX_SetLock CODE 0 ..." lines is exactly the num=
ber
of calls to flock attempted by the client.
> > fstrace on the client for a process with an error executing flock
> > shows the following lines:
> > time 961.188544, pid 5152: Analyze RPC op 13 conn 0xffffffffc53572c0 =
code 0x0 user 0x41629d76
> Likewise the above, are you seeing as many attempts here as you expect
> or is it not even getting to this point?
There are as many lines "Analyze RPC op 13 ..." and "Analyze RPC op 15 ..=
."
as calls to flock (and close).
HW
--=20
Hans-Werner Paulsen hans@MPA-Garching.MPG.DE
MPI f=FCr Astrophysik Tel 089-30000-2602
Karl-Schwarzschild-Str. 1 Fax 089-30000-2235=09
D-85741 Garching