[OpenAFS] interesting situation

Derrick J Brashear shadow@dementia.org
Tue, 1 Jul 2003 13:59:09 -0400 (EDT)


On Tue, 1 Jul 2003, Klaas Hagemann wrote:

> > It was not, that I've seen, but I'm going to have to look in context. We
> > should be able to fix this bug by 1.2.10-release, but it's not clear yet
> > that the included patch won't have other unintended side effects, notably
> > on non-Linux platforms.
>
> There might be different error codes on different platforms? But which
> platform does it depends on? The client side or the server side?

Everything should send the same error codes on the wire, and the client
should translate to the correct "native" errors.

> We have linux clients so we thought that theses error codes should be
> compatible with linux.

I bet people with Solaris clients don't agree. All the world isn't Linux,
and even Linux isn't always self-consistent beyond the "standard" errno
range.

> Do i have to care about the system on the (file)-server side? It does
> not matter for me since it is linux, too, but maybe this could affect
> someone else?

You're not supposed to but we've found cases before where it was broken.
There's code in the CVS head that's supposed to deal, but it may or may
not still have bugs.