[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] xenpaging: unify return value in nominate and evict



At 11:24 +0100 on 30 Jan (1327922652), Olaf Hering wrote:
> On Mon, Jan 30, Tim Deegan wrote:
> 
> > I don't think EAGAIN is the right thing to return here.  There's no
> > reason to think that retrying an invalid GFN will work next time. 
> > 
> > I'd be happy for these cases all to return the same code, but maybe
> > EINVAL would be a better choice. 
> 
> EINVAL is returned by upper layers already. I think both nominate and
> evict should return EBUSY in case of failure, this is most likely unique
> enough to mean "request reached target function, and failed.".

Fair enough; EBUSY will do.

Tim.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.