On 11/09/2011 06:33 PM, Pete Zaitcev wrote:
My hekafs server was misconfigured and some functions failed in places where they normally would not, and that uncovered a problem: whenever that happened, the client would hang. This happens because we cannot return errors like normal people do in the kernel, by throwing an error code. Functions called through STACK_WIND must return zero and report the error through the callback.
Not sure what errno to set in this case. Generally I just want to indicate that "something is busted". In the past I would return EDOM. The ENOSPC seems ridiculous enough here.
Comments?
I opened BZ 752807 for this.