[pnfs] [PATCH 03/11] Client indicates presence of NFSv4.1 callback channel.

ricardo.labiaga at netapp.com ricardo.labiaga at netapp.com
Tue Nov 27 23:25:13 EST 2007


Set the SESSION4_BACK_CHAN flag to indicate the client supports a backchannel.

Signed-off-by: Ricardo Labiaga <ricardo.labiaga at netapp.com>
---
 fs/nfs/nfs4proc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 184706e..1642d3d 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -4022,7 +4022,7 @@ int _nfs4_proc_create_session(struct nfs_client *clp, struct nfs4_session *sessi
 	int status;
 
 	nfs4_init_channel_attrs(clp, &args.fc_attrs, &args.bc_attrs);
-	args.flags = (SESSION4_PERSIST);
+	args.flags = (SESSION4_PERSIST | SESSION4_BACK_CHAN);
 
         status = rpc_call_sync(clnt, &msg, 0);
 
-- 
1.5.2


More information about the pNFS mailing list