opnsense-src/sys/fs
Rick Macklem b27900b8d9 nfscl: Move layout high water variables into clientID
Commit f5aff1871d32 moved the delegation high water
variables into the clientID structure, so that they are now
per mount instead of global.  This patch does the
same for the layout highwater variables.  It happens
that the layout highwater variables are not actually
used.  This patch changes the code to use them.
This is needed to add support
for the CB_RECALL_ANY callback in a future commit.

This patch only affects NFSv4.1/4.2 mounts with the "pnfs"
mount option.  The effect on these mounts will be minimal,
since layouts are returned when they are stale and this
normally ensures that the highwater mark is never hit.

(cherry picked from commit 7e26f1c21049b5a1a2f490d8ac1909ccb24f0db2)
2025-03-02 17:55:37 -08:00
..
autofs sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
cd9660 cd9660: Apply the file and directory mode masks bits to all 12 access bits 2024-12-27 10:50:56 -05:00
cuse cuse: Use NULL for SYSUNINIT's last arg, which is a pointer type 2024-12-15 10:20:53 +08:00
deadfs sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
devfs kern: Make fileops and filterops tables const where possible 2024-12-03 01:03:42 +00:00
ext2fs ext2fs: 'struct ufid': Re-order fields and unpack 2025-01-17 14:51:54 +01:00
fdescfs Fix MNT_IGNORE for devfs, fdescfs and nullfs 2024-04-22 15:48:15 +02:00
fifofs sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
fuse fusefs: fix a memory leak 2025-01-20 09:51:44 -07:00
mntfs sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
msdosfs fs: Add static asserts for the size of fid structures 2024-12-20 14:07:12 -08:00
nfs nfscl: Move layout high water variables into clientID 2025-03-02 17:55:37 -08:00
nfsclient nfscl: Move layout high water variables into clientID 2025-03-02 17:55:37 -08:00
nfsserver nfs: Add support for the NFSv4.2 mode_umask attribute 2024-12-07 17:38:15 -08:00
nullfs nullfs: stop lying about mount flags in statfs(2) 2024-12-27 08:24:55 +02:00
procfs uio: Use switch statements when handling UIO_READ vs UIO_WRITE 2024-11-30 08:55:57 -05:00
pseudofs pseudofs: fix off by one in hash iteration in pfs_purge 2023-11-24 17:22:15 +00:00
smbfs Add vnode_pager_clean_{a,}sync(9) 2024-01-18 02:51:33 +02:00
tarfs tarfs: 'struct tarfs_fid': Switch 'gen' to 'u_int', avoid packing 2025-01-17 14:51:32 +01:00
tmpfs stat(2): add st_filerev 2025-01-23 11:46:57 +02:00
udf fs: Add static asserts for the size of fid structures 2024-12-20 14:07:12 -08:00
unionfs cred: proc_set_cred(), proc_unset_cred(): Update user's process count 2025-01-16 19:06:59 +01:00