Re: [PATCH] mount.nfs: prefer IPv4 addresses over IPv6 (try #2)

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

 



On Tue, 2010-01-19 at 15:38 -0500, Jeff Layton wrote: 
> On Tue, 19 Jan 2010 10:43:34 -0500
> Chuck Lever <chuck.lever@xxxxxxxxxx> wrote:
> > I think that doesn't describe this workaround adequately.  This is a  
> > temporary crutch that prevents us from using IPv6 if "proto=" isn't  
> > specified.  The underlying problem here is that nfs_lookup() returns  
> > just one address.
> > 
> 
> Yes. The best solution would be to somehow try all addresses in the
> list until one works. That's a larger project however and we'll
> probably need some significant kernel changes to handle that anyway.

Why would that involve kernel changes? I'm assuming that we can just
retry the mount call if we see that the server isn't listening on a
particular ip address+port combination.

Cheers
  Trond

--
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