opnsense-src/sys/fs
Rick Macklem dfe4c2024f nfscl: Send stateid.seqid of 0 for NFSv4.1/4.2 mounts
For NFSv4.1/4.2, the client may set the "seqid" field of the
stateid to 0 in RPC requests.  This indicates to the server that
it should not check the "seqid" or return NFSERR_OLDSTATEID if the
"seqid" value is not up to date w.r.t. Open/Lock operations
on the stateid.  This "seqid" is incremented by the NFSv4 server
for each Open/OpenDowngrade/Lock/Locku operation done on the stateid.

Since a failure return of NFSERR_OLDSTATEID is of no use to
the client for I/O operations, it makes sense to set "seqid"
to 0 for the stateid argument for I/O operations.
This avoids server failure replies of NFSERR_OLDSTATEID,
although I am not aware of any case where this failure occurs.

This makes the FreeBSD NFSv4.1/4.2 client compatible with the
Linux NFSv4.1/4.2 client.

(cherry picked from commit 7685f8344d)
2021-08-04 17:30:40 -07:00
..
autofs Ensure that dirent's d_off field is initialized 2021-01-03 11:50:31 -05:00
cd9660 Move mnt_maxsymlinklen into appropriate fs mount data structures 2021-06-01 02:48:16 +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-24 09:42:42 +02:00
devfs devfs: fix use count leak when using TIOCSCTTY 2021-04-10 05:57:55 +00:00
ext2fs ext2: add missing uio_td initialization to ext2_htree_append_block 2021-06-07 00:29:49 +00:00
fdescfs fdescfs: add an option to return underlying file vnode on lookup 2021-06-11 03:33:48 +03:00
fifofs fifofs: fifo vnode might be relocked before VOP_OPEN() is called 2021-08-03 12:52:36 +03:00
fuse fusefs: correctly set lock owner during FUSE_SETLK 2021-07-27 11:44:28 -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 msdosfs: fix vnode leak with msdosfs_rename() 2021-03-02 18:43:26 +00:00
nfs nfsd: Add sysctl to set maximum I/O size up to 1Mbyte 2021-08-03 16:50:33 -07:00
nfsclient nfscl: Send stateid.seqid of 0 for NFSv4.1/4.2 mounts 2021-08-04 17:30:40 -07:00
nfsserver nfsd: Add sysctl to set maximum I/O size up to 1Mbyte 2021-08-03 16:50:33 -07:00
nullfs nullfs: provide custom null_rename bypass 2021-08-03 12:52:36 +03:00
procfs procfs_map: switch to use vm_object_kvme_type 2021-05-22 12:38:30 +03:00
pseudofs pseudofs: use vget_prep + vget_finish instead of vget + the interlock 2021-05-22 18:22:35 +00:00
smbfs Ensure that dirent's d_off field is initialized 2021-01-03 11:50:31 -05:00
tmpfs tmpfs: save on relocking the allnode lock in tmpfs_free_node_locked 2021-06-07 00:34:59 +00:00
udf Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
unionfs unionfs: do not use bare struct componentname 2021-07-07 13:23:30 +03:00