opnsense-src/sys
Rick Macklem 3bcaad5930 nfscl: fix the handling of NFSERR_DELAY for Open/LayoutGet RPCs
For a pNFS mount, the NFSv4.1/4.2 client uses compound RPCs that
have both Open and LayoutGet operations in them.
If the pNFS server were tp reply NFSERR_DELAY for one of these
compounds, the retry after a delay cannot be handled by
newnfs_request(), since there is a reference held on the open
state for the Open operation in them.

Fix this by adding these RPCs to the "don't do delay here"
list in newnfs_request().

This patch is only needed if the mount is using pNFS (the "pnfs"
mount option) and probably only matters if the MDS server
is issuing delegations as well as pNFS layouts.

Found by code inspection.

(cherry picked from commit f5ff282bc0)
2021-05-10 18:14:20 -07:00
..
amd64 amd64: invalidate TLB between page table update and access 2021-05-07 03:35:54 +03:00
arm gdb: report specific stop reason for watchpoints 2021-04-21 10:20:33 -03:00
arm64 gdb: report specific stop reason for watchpoints 2021-04-21 10:20:33 -03:00
bsm Add aio_writev and aio_readv 2021-01-02 19:57:58 -07:00
cam Introduce "soft" serseq variant. 2021-05-05 23:18:38 -04:00
cddl fbt: Remove some handling for multiple CTF containers 2021-04-15 21:27:24 -04:00
compat Add ptrace(PT_COREDUMP) 2021-05-10 04:03:06 +03:00
conf pf: Introduce nvlist variant of DIOCADDRULE 2021-05-07 10:15:41 +02:00
contrib zfs: merge openzfs/zfs@3522f57b6 (master) 2021-04-22 17:03:06 +02:00
crypto armv8crypto: note derivation in armv8_crypto_wrap.c 2021-03-22 13:14:51 -03:00
ddb ddb: replace watchpoint set/clear functions 2021-04-21 10:20:33 -03:00
dev Add more USB quirks for Garmin devices. 2021-05-10 16:11:19 +02:00
dts Switch to the new device-tree vendor tree 2021-01-15 20:08:39 +01:00
fs nfscl: fix the handling of NFSERR_DELAY for Open/LayoutGet RPCs 2021-05-10 18:14:20 -07:00
gdb gdb: report specific stop reason for watchpoints 2021-04-21 10:20:33 -03:00
geom gmirror: Pre-allocate the timeout event structure 2021-03-17 21:24:20 -04:00
gnu Remove the old dts imported tree. 2021-01-15 20:09:55 +01:00
i386 x86: use x86_clear_dbregs() on fork 2021-04-23 14:14:08 +03:00
isa Remove more remnants of sio(4) 2021-04-14 09:19:49 -04:00
kern kern/intr: declare interrupt vectors unsigned 2021-05-10 09:36:20 -04:00
kgssapi
libkern tests/sys/kern/crc32: Check for SSE4.2 before using it 2021-04-22 10:41:09 +01:00
mips gdb: report specific stop reason for watchpoints 2021-04-21 10:20:33 -03:00
modules pf: Introduce nvlist variant of DIOCADDRULE 2021-05-07 10:15:41 +02:00
net pfsync: Expose PFSYNCF_OK flag to userspace 2021-05-10 21:45:57 +02:00
net80211 net80211: Fix a typo in a comment 2021-03-20 11:13:31 +01:00
netgraph netgraph/ng_base: Allow larger BINARY2ASCII conversions 2021-05-09 15:25:05 +02:00
netinet net: Introduce IPV6_DSCP(), IPV6_ECN() and IPV6_TRAFFIC_CLASS() macros 2021-05-10 16:30:44 +02:00
netinet6 net: Introduce IPV6_DSCP(), IPV6_ECN() and IPV6_TRAFFIC_CLASS() macros 2021-05-10 16:30:44 +02:00
netipsec Convert unmapped mbufs before computing checksums in IPsec. 2021-01-19 11:52:00 -08:00
netpfil pf: Trivial typo fix 2021-05-10 21:45:57 +02:00
netsmb
nfs
nfsclient
nfsserver nfs: Mark unused statistics variable as reserved 2020-11-18 04:35:49 +00:00
nlm
ofed MFC 4e38478c59: 2021-04-01 11:19:42 +02:00
opencrypto Fix a typo in a comment: frame -> framework. 2021-04-26 12:01:37 -07:00
powerpc opal_console: fix serial console output corruption on powerpc64 2021-05-07 02:33:39 -03:00
riscv ddb: replace watchpoint set/clear functions 2021-04-21 10:20:33 -03:00
rpc nfsd: fix a NFSv4.1 Linux client mount stuck in CLOSE_WAIT 2021-05-10 18:12:21 -07:00
security close_range: add audit support 2021-03-17 22:22:48 +00:00
sys param.h: Bump __FreeBSD_version to 1300505 for 272f399422 2021-05-10 08:14:57 -07:00
teken loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
tests Enable running fib tests inside vnet jail. 2021-01-17 20:32:26 +00:00
tools Switch to the new device-tree vendor tree 2021-01-15 20:08:39 +01:00
ufs b_vflags update requries bufobj lock 2021-04-23 14:14:10 +03:00
vm uma: Introduce per-domain reclamation functions 2021-04-28 10:00:52 -04:00
x86 Balance parentheses in sysctl descriptions 2021-05-05 13:04:58 +02:00
xdr
xen xen: remove .swp file from public headers 2021-01-11 18:14:11 +01:00
Makefile