* pnfs: use mds pseudoflavor for ds
@ 2010-02-12 18:24 andros
2010-02-12 18:24 ` [PATCH 1/1] " andros
2010-02-13 15:13 ` [pnfs] " Benny Halevy
0 siblings, 2 replies; 3+ messages in thread
From: andros @ 2010-02-12 18:24 UTC (permalink / raw)
To: pnfs; +Cc: linux-nfs
This patch enables Kerberos connections (or whatever flavor is established
to the MDS) to the Data Servers.
Passes connectathon against pNFS/GFS2.
-->Andy
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] pnfs: use mds pseudoflavor for ds
2010-02-12 18:24 pnfs: use mds pseudoflavor for ds andros
@ 2010-02-12 18:24 ` andros
2010-02-13 15:13 ` [pnfs] " Benny Halevy
1 sibling, 0 replies; 3+ messages in thread
From: andros @ 2010-02-12 18:24 UTC (permalink / raw)
To: pnfs; +Cc: linux-nfs, Andy Adamson
From: Andy Adamson <andros@netapp.com>
Signed-off-by: Andy Adamson <andros@netapp.com>
---
fs/nfs/nfs4filelayoutdev.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/fs/nfs/nfs4filelayoutdev.c b/fs/nfs/nfs4filelayoutdev.c
index e9674a9..b75fe46 100644
--- a/fs/nfs/nfs4filelayoutdev.c
+++ b/fs/nfs/nfs4filelayoutdev.c
@@ -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 */);
--
1.6.6
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [pnfs] pnfs: use mds pseudoflavor for ds
2010-02-12 18:24 pnfs: use mds pseudoflavor for ds andros
2010-02-12 18:24 ` [PATCH 1/1] " andros
@ 2010-02-13 15:13 ` Benny Halevy
1 sibling, 0 replies; 3+ messages in thread
From: Benny Halevy @ 2010-02-13 15:13 UTC (permalink / raw)
To: andros; +Cc: pnfs, linux-nfs
committed. thanks!
Benny
On Feb. 12, 2010, 20:24 +0200, andros@netapp.com 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
> pNFS@linux-nfs.org
> http://linux-nfs.org/cgi-bin/mailman/listinfo/pnfs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-02-13 15:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-12 18:24 pnfs: use mds pseudoflavor for ds andros
2010-02-12 18:24 ` [PATCH 1/1] " andros
2010-02-13 15:13 ` [pnfs] " Benny Halevy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox