Re: [PATCH] sunrpc: when call_bind fails with -EACCES, don't exit with -EIO

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

 



On Thu, 07 Jul 2011 10:35:56 -0400
Trond Myklebust <Trond.Myklebust@xxxxxxxxxx> wrote:

> On Thu, 2011-07-07 at 10:32 -0400, Jeff Layton wrote: 
> > Commit 0b760113a fixed the client not to loop indefinitely if the
> > rpcbind was continually failing. When this occurs though, the rpc_task
> > now exits with a status of -EIO. If the tk_status is -EACCES, it seems
> > like we should preserve that in this situation.
> 
> Why? This isn't the POSIX EACCES error, but a sign that the server is
> once again refusing to do business with us: usually that means EIO.
> 

Fair enough. I figured that an EACCES error would better describe the
situation than EIO, but I'll defer to your judgement on this.

Cheers,
-- 
Jeff Layton <jlayton@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux