pnfs: use mds pseudoflavor for ds
Subsystems (2)
This patch enables Kerberos connections (or whatever flavor is established to the MDS) to the Data Servers.
Passes connectathon against pNFS/GFS2.
-->Andy
PATCH 1/1 pnfs: use mds pseudoflavor for ds
From: Andy Adamson <[email protected]>
Signed-off-by Andy Adamson <[email protected]>
--- fs/nfs/nfs4filelayoutdev.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
fs/nfs/nfs4filelayoutdev.c +3 -2
@@ -222,7 +222,8 @@ nfs4_pnfs_ds_create(struct nfs_server *mds_srv, struct nfs4_pnfs_ds *ds)int addrlen;int err =0 ; -dprintk ("--> %s ip:port %s\n" , __func__, ds->r_addr); +dprintk ("--> %s ip:port %s au_flavor %d\n" , __func__, + ds->r_addr, mds_clnt->cl_auth->au_flavor); sin.sin_family =AF_INET ; sin.sin_addr.s_addr = ds->ds_ip_addr;
@@ -254,7 +255,7 @@ nfs4_pnfs_ds_create(struct nfs_server *mds_srv, struct nfs4_pnfs_ds *ds) (struct sockaddr *)&sin,sizeof (struct sockaddr ), ip_addr, -RPC_AUTH_UNIX , + mds_clnt->cl_auth->au_flavor,IPPROTO_TCP , mds_clnt->cl_xprt->timeout, 1 /* minorversion */);
Signature · 1 line
1.6.6
committed. thanks!
Benny
Quoted 10 lines · On Feb. 12, 2010, 20:24 +0200, [email protected] wrote:
This patch enables Kerberos connections (or whatever flavor is established to the MDS) to the Data Servers.
Passes connectathon against pNFS/GFS2.
-->Andy
_______________________________________________
pNFS mailing list
[email protected]
http://linux-nfs.org/cgi-bin/mailman/listinfo/pnfs