All of lore.kernel.org
 help / color / mirror / Atom feed
* autofs breaking nfs4 protocol by sending udp probes ?
@ 2008-01-17 15:51 Guillaume Rousse
  2008-01-22  2:08 ` Ian Kent
  0 siblings, 1 reply; 4+ messages in thread
From: Guillaume Rousse @ 2008-01-17 15:51 UTC (permalink / raw)
  To: autofs

According to nfs4 developpers, autofs is suspect there:
http://linux-nfs.org/pipermail/nfsv4/2007-December/007332.html
-- 
Guillaume Rousse
Moyens Informatiques - INRIA Futurs
Tel: 01 69 35 69 62

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: autofs breaking nfs4 protocol by sending udp probes ?
  2008-01-17 15:51 autofs breaking nfs4 protocol by sending udp probes ? Guillaume Rousse
@ 2008-01-22  2:08 ` Ian Kent
  2008-01-24  5:33   ` Ian Kent
  0 siblings, 1 reply; 4+ messages in thread
From: Ian Kent @ 2008-01-22  2:08 UTC (permalink / raw)
  To: Guillaume Rousse; +Cc: autofs


On Thu, 2008-01-17 at 16:51 +0100, Guillaume Rousse wrote:
> According to nfs4 developpers, autofs is suspect there:
> http://linux-nfs.org/pipermail/nfsv4/2007-December/007332.html

Please try this patch and let me know how it goes.
Ian

---
diff --git a/modules/mount_nfs.c b/modules/mount_nfs.c
index 0e7aebe..df01fd6 100644
--- a/modules/mount_nfs.c
+++ b/modules/mount_nfs.c
@@ -129,7 +129,7 @@ int mount_mount(struct autofs_point *ap, const char *root, const char *name, int
 	}
 
 	if (strcmp(fstype, "nfs4") == 0)
-		vers = NFS4_VERS_MASK | NFS_PROTO_MASK;
+		vers = NFS4_VERS_MASK | NFS_TCP_SUPPORTED;
 	else
 		vers = NFS_VERS_MASK | NFS_PROTO_MASK;

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: autofs breaking nfs4 protocol by sending udp probes ?
  2008-01-22  2:08 ` Ian Kent
@ 2008-01-24  5:33   ` Ian Kent
  2008-01-31 17:42     ` Guillaume Rousse
  0 siblings, 1 reply; 4+ messages in thread
From: Ian Kent @ 2008-01-24  5:33 UTC (permalink / raw)
  To: Guillaume Rousse; +Cc: autofs


On Tue, 2008-01-22 at 11:08 +0900, Ian Kent wrote:
> On Thu, 2008-01-17 at 16:51 +0100, Guillaume Rousse wrote:
> > According to nfs4 developpers, autofs is suspect there:
> > http://linux-nfs.org/pipermail/nfsv4/2007-December/007332.html
> 
> Please try this patch and let me know how it goes.

This one isn't right.
Can you try this one instead please.
http://www.kernel.org/pub/linux/daemons/autofs/v5/autofs-5.0.3-nfs4-tcp-only.patch

> Ian
> 
> ---
> diff --git a/modules/mount_nfs.c b/modules/mount_nfs.c
> index 0e7aebe..df01fd6 100644
> --- a/modules/mount_nfs.c
> +++ b/modules/mount_nfs.c
> @@ -129,7 +129,7 @@ int mount_mount(struct autofs_point *ap, const char *root, const char *name, int
>  	}
>  
>  	if (strcmp(fstype, "nfs4") == 0)
> -		vers = NFS4_VERS_MASK | NFS_PROTO_MASK;
> +		vers = NFS4_VERS_MASK | NFS_TCP_SUPPORTED;
>  	else
>  		vers = NFS_VERS_MASK | NFS_PROTO_MASK;
>  
> 
> 
> _______________________________________________
> autofs mailing list
> autofs@linux.kernel.org
> http://linux.kernel.org/mailman/listinfo/autofs

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: autofs breaking nfs4 protocol by sending udp probes ?
  2008-01-24  5:33   ` Ian Kent
@ 2008-01-31 17:42     ` Guillaume Rousse
  0 siblings, 0 replies; 4+ messages in thread
From: Guillaume Rousse @ 2008-01-31 17:42 UTC (permalink / raw)
  To: Ian Kent; +Cc: autofs

Ian Kent a écrit :
> On Tue, 2008-01-22 at 11:08 +0900, Ian Kent wrote:
>> On Thu, 2008-01-17 at 16:51 +0100, Guillaume Rousse wrote:
>>> According to nfs4 developpers, autofs is suspect there:
>>> http://linux-nfs.org/pipermail/nfsv4/2007-December/007332.html
>> Please try this patch and let me know how it goes.
> 
> This one isn't right.
> Can you try this one instead please.
> http://www.kernel.org/pub/linux/daemons/autofs/v5/autofs-5.0.3-nfs4-tcp-only.patch
Works OK, thanks again.
-- 
Guillaume Rousse
Moyens Informatiques - INRIA Futurs
Tel: 01 69 35 69 62

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-01-31 17:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-17 15:51 autofs breaking nfs4 protocol by sending udp probes ? Guillaume Rousse
2008-01-22  2:08 ` Ian Kent
2008-01-24  5:33   ` Ian Kent
2008-01-31 17:42     ` Guillaume Rousse

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.