freebsd-dev/sys/fs
Rick Macklem dfe887b7d2 nfsd: Disable the NFSv4.2 Allocate operation by default
Some exported file systems, such as ZFS ones, cannot do VOP_ALLOCATE().
Since an NFSv4.2 server must either support the Allocate operation for
all file systems or not support it at all, define a sysctl called
vfs.nfsd.enable_v42allocate to enable the Allocate operation.
This sysctl is false by default and can only be set true if all
exported file systems (or all DSs for a pNFS server) can perform
VOP_ALLOCATE().

Unfortunately, there is no way to know if a ZFS file system will
be exported once the nfsd is operational, even if there are none
exported when the nfsd is started up, so enabling Allocate must
be done manually for a server configuration.

This problem was detected during a recent NFSv4 interoperability
testing event held by the IETF working group.

MFC after:	2 weeks
2021-10-10 18:46:02 -07:00
..
autofs Ensure that dirent's d_off field is initialized 2021-01-03 11:50:31 -05:00
cd9660 buffer pager: allow get_blksize method to return error 2021-09-17 20:29:55 +03:00
cuse Fix for loading cuse.ko via rc.d . Make sure we declare the cuse(3) 2020-10-23 08:44:53 +00:00
deadfs vn_open(): If the vnode is reclaimed during open(2), do not return error. 2021-02-12 03:02:20 +02:00
devfs devfs: Avoid comparison with an uninitialized var in devfs_fp_check() 2021-05-03 13:24:30 -04:00
ext2fs vfs: remove dead fifoop VOP_KQFILTER implementations 2021-10-03 01:02:51 -05:00
fdescfs fdescfs: add an option to return underlying file vnode on lookup 2021-06-04 03:30:12 +03:00
fifofs fifo: support flock 2021-09-25 14:58:31 +00:00
fuse fusefs: Fix a bug during VOP_STRATEGY when the server changes file size 2021-10-06 14:07:33 -06:00
mntfs Add a new "mntfs" pseudo file system which provides private device vnodes for 2020-03-06 18:41:37 +00:00
msdosfs buffer pager: allow get_blksize method to return error 2021-09-17 20:29:55 +03:00
nfs nfs: eliminate thread argument from nfsvno_namei 2021-10-02 00:57:20 +00:00
nfsclient nfscl: Fix NFS VOP_ALLOCATE for mounts without Allocate support 2021-10-10 14:27:52 -07:00
nfsserver nfsd: Disable the NFSv4.2 Allocate operation by default 2021-10-10 18:46:02 -07:00
nullfs nullfs: provide custom null_rename bypass 2021-07-27 19:58:48 +03:00
procfs Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
pseudofs pseudofs: use vget_prep + vget_finish instead of vget + the interlock 2021-05-19 17:58:42 +00:00
smbfs VFS_QUOTACTL(9): allow implementation to indicate busy state changes 2021-05-30 14:53:47 -07:00
tmpfs tmpfs: Implement VOP_DEALLOCATE 2021-08-26 05:34:54 +08:00
udf Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
unionfs unionfs: lock newly-created vnodes before calling insmntque() 2021-09-23 19:20:30 -07:00