[OpenAFS-devel] flock Input/output error
Hans-Werner Paulsen
hans@MPA-Garching.MPG.DE
Thu, 12 Aug 2010 13:23:27 +0200
On Wed, Aug 11, 2010 at 05:21:24PM +0100, Simon Wilkinson wrote:
> That sequence of actions means that it's afs_posix_lock_file() that is =
failing - that's just a compatibility wrapper around Linux's posix_lock_f=
ile function, which we use to enrol our looks in the kernel lock manageme=
nt scheme. However, when posix_lock_file fails it returns a kernel form (=
negative) error code - not a positive AFS error code, and so afs_convert_=
code mangles it.
>=20
> The fix for the first part is (apologies for any patch fuzz):
> ...
> Once you've applied this, I would be interested to know what error your=
test now returns ...
When I run my test with this patch applied, nothing changed! I still get
errno=3D5 Input/output error.
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