opnsense-src/sys/fs
Rick Macklem 83ac4cebe8 Revert "nfscl: Enable support for the Lookup+Open RPC"
This reverts commit 9792c7d3eb.

The email thread "panic: nfsv4root ref cnt cpuid=1"
on freebsd-fs@freebsd.org descibes
crashes that occurred for a NFSv4.1 client mount
using "oneopenown" where the same file is re-opened
many times by different processes.

The crashes appear to have been caused by the use
of the Lookup+Open RPC (which only happens for
mounts using the "oneopenown" option).
There appears to be a race between closure of the
open and the open acquired by the Lookup+Open RPC.

Since Lookup+Open RPCs are only an optimization
and can only be done for "oneopenown" at this time,
this patch reverts enabling of them.

It may be possible to fix the code so that
Lookup+Open works reliably, so the code is left
in place (although it will never be executed) for now.

Reported by:	J David <j.david.lists@gmail.com>

(cherry picked from commit 6df05714da160a8ac3e27ee34ff903bd0e760002)
2024-10-11 17:45:22 -07:00
..
autofs sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
cd9660 cd9660: Add support for mask,dirmask,uid,gid options 2024-04-08 10:25:46 -07:00
cuse sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
deadfs sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
devfs devfs_allocv(): style 2024-05-19 03:57:54 +03:00
ext2fs Fix build with gcc12. 2023-10-31 08:59:28 -07: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 an uninitialized memory access in fuse_vnop_deallocate 2024-10-10 12:48:39 -06:00
mntfs sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
msdosfs msdosfs: return ENOENT if looking up invalid name for OPEN or DELETE 2024-09-01 03:53:36 +03:00
nfs nfscl: fix uninitialized memory in nfsv4_loadattr 2024-10-10 13:08:12 -06:00
nfsclient Revert "nfscl: Enable support for the Lookup+Open RPC" 2024-10-11 17:45:22 -07:00
nfsserver nfsd: Fix close handling when vfs.nfsd.enable_locallocks=1 2024-10-11 17:43:27 -07:00
nullfs nullfs: Show correct exported flag. 2024-04-22 15:48:15 +02:00
procfs procfs: ensure that RLIMIT_IDENT is properly updated when a limit is added 2024-10-05 10:08:53 +03: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: Implement VOP_BMAP 2024-04-15 10:06:12 -04:00
tmpfs tmpfs_destroy_vobject(): clear v_object under the object lock 2024-05-19 03:57:54 +03:00
udf udf: Stop checking for failures from malloc(M_WAITOK) 2024-09-30 12:44:15 +08:00
unionfs unionfs_lookup(): fix wild accesses to vnode private data 2024-04-27 12:42:36 -05:00