[pnfs] [PATCH] create back cannel if MDS
Halevy, Benny
bhalevy at panasas.com
Wed Jun 6 07:46:34 EDT 2007
-----Original Message-----
From: pnfs-bounces at linux-nfs.org on behalf of Marc Eshel
Sent: Wed 2007-06-06 08:47
To: andros at citi.umich.edu
Cc: pnfs at linux-nfs.org
Subject: [pnfs] [PATCH] create back cannel if MDS
From: Marc Eshel <eshel at almaden.ibm.com>
---
fs/nfsd/nfs4state.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 5180810..b7e7560 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -1414,7 +1414,8 @@ int nfsd4_create_session(struct svc_rqst
session->flags &= ~SESSION4_PERSIST;
session->flags &= ~SESSION4_RDMA;
- if (unconf->cl_exchange_flags & EXCHGID4_FLAG_USE_PNFS_DS)
+ if (!unconf->cl_exchange_flags & EXCHGID4_FLAG_USE_PNFS_MDS &&
^^^
shouldn't that be !(unconf->cl_exchange_flags & EXCHGID4_FLAG_USE_PNFS_MDS)?
+ unconf->cl_exchange_flags & EXCHGID4_FLAG_USE_PNFS_DS)
session->flags &= ~SESSION4_BACK_CHAN;
if (session->flags & SESSION4_BACK_CHAN) {
_______________________________________________
pNFS mailing list
pNFS at linux-nfs.org
http://linux-nfs.org/cgi-bin/mailman/listinfo/pnfs
More information about the pNFS
mailing list