]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add an NFSv4.1 mount option for "use one openowner".
authorrmacklem <rmacklem@FreeBSD.org>
Thu, 13 Apr 2017 21:54:19 +0000 (21:54 +0000)
committerrmacklem <rmacklem@FreeBSD.org>
Thu, 13 Apr 2017 21:54:19 +0000 (21:54 +0000)
commit6a12f641aa3510c4ebabd346c6a42e3f13fc0eb8
tree6fe7d83d83e96e3d1179ad899508a87a4e65be61
parentc0fa855ca6a3e811a613a268a7dda5459c43b91e
Add an NFSv4.1 mount option for "use one openowner".

Some NFSv4.1 servers such as AmazonEFS can only support a small fixed number
of open_owner4s. This patch adds a mount option called "oneopenown" that
can be used for NFSv4.1 mounts to make the client do all Opens with the
same open_owner4 string. This option can only be used with NFSv4.1 and
may not work correctly when Delegations are is use.

Reported by: cperciva
Tested by: cperciva
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D8988
sys/fs/nfs/nfs_var.h
sys/fs/nfs/nfsport.h
sys/fs/nfsclient/nfs_clport.c
sys/fs/nfsclient/nfs_clrpcops.c
sys/fs/nfsclient/nfs_clstate.c
sys/fs/nfsclient/nfs_clvfsops.c
sys/nfsclient/nfsargs.h