Re: [PATCH] nfs: convert proto= option to use netid's rather than a protoname

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

 



On Wed, 28 Oct 2009 16:15:33 -0400
Chuck Lever <chuck.lever@xxxxxxxxxx> wrote:

> >
> > /*
> > @@ -578,7 +609,7 @@ static void nfs_show_mount_options(struct  
> > seq_file *m, struct nfs_server *nfss,
> > 			seq_puts(m, nfs_infop->nostr);
> > 	}
> > 	seq_printf(m, ",proto=%s",
> > -		   rpc_peeraddr2str(nfss->client, RPC_DISPLAY_PROTO));
> > +		   rpc_peeraddr2str(nfss->client, RPC_DISPLAY_NETID));
> 
> Does that do the right thing for rdma mounts, currently?
> 

Unfortunately, I don't have an easy way to test this with RDMA yet, but
it looks like it'll do the right thing. The RPC_DISPLAY_PROTO and
RPC_DISPLAY_NETID strings both get set to "rdma".

As best I can tell IPv6 support for RDMA doesn't exist yet, so that
seems to be the right thing to do for now.

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