opnsense-src/sys/fs/nfsclient
Rick Macklem 6df05714da 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>
MFC after:	2 weeks
2024-09-28 15:01:36 -07:00
..
nfs.h nfscl: Clear out a lot of cruft related to B_DIRECT 2024-04-27 17:10:48 -07:00
nfs_clbio.c Revert "nfscl: Do not do readahead for directories" 2024-05-26 08:02:30 -07:00
nfs_clcomsubs.c nfsclient: Propagate copyin() errors from nfsm_uiombuf() 2023-12-12 14:05:24 -05:00
nfs_clkdtrace.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
nfs_clkrpc.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
nfs_clnfsiod.c nfscl: Clear out a lot of cruft related to B_DIRECT 2024-04-27 17:10:48 -07:00
nfs_clnode.c Add vnode_pager_clean_{a,}sync(9) 2024-01-11 18:44:53 +02:00
nfs_clport.c nfsclient: eliminate ncl_writebp() 2024-01-05 06:58:18 +02:00
nfs_clrpcops.c nfs: Add support for the NFSv4.2 mode_umask attribute 2024-08-20 18:48:19 -07:00
nfs_clstate.c nfscl: Add support for read delegations and atomic upgrade 2024-06-12 16:41:12 -07:00
nfs_clsubs.c nfscl: Add support for read delegations and atomic upgrade 2024-06-12 16:41:12 -07:00
nfs_clvfsops.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
nfs_clvnops.c Revert "nfscl: Enable support for the Lookup+Open RPC" 2024-09-28 15:01:36 -07:00
nfs_kdtrace.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
nfsmount.h nfscl: Revert part of commit 196787f79e 2024-04-25 12:32:02 -07:00
nfsnode.h nfscl: Clear out a lot of cruft related to B_DIRECT 2024-04-27 17:10:48 -07:00
nlminfo.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00