HomeFreeBSD

Revert "nfscl: Enable support for the Lookup+Open RPC"

Description

Revert "nfscl: Enable support for the Lookup+Open RPC"

This reverts commit 9792c7d3eb41dc1e3709e00a98734c3312d1b4fe.

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

Details

Provenance
rmacklemAuthored on Sep 28 2024, 10:01 PM
Parents
rG76c60597fa2a: swap_pager: use vm_page_iterators for lookup
Branches
Unknown
Tags
Unknown
Reverts
rG9792c7d3eb41: nfscl: Enable support for the Lookup+Open RPC