opnsense-src/sys/fs
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
..
autofs
cd9660
cuse
deadfs
devfs devfs: fix use count leak when using TIOCSCTTY 2021-04-10 05:57:55 +00:00
ext2fs
fdescfs
fifofs
fuse fusefs: fix a dead store in fuse_vnop_advlock 2021-04-08 02:15:46 +00:00
mntfs
msdosfs
nfs nfscl: fix the handling of NFSERR_DELAY for Open/LayoutGet RPCs 2021-05-10 18:14:20 -07:00
nfsclient nfsclient: Copy only initialized fields in nfs_getattr() 2021-05-10 20:27:51 -04:00
nfsserver nfsd: fix the slot sequence# when a callback fails 2021-05-10 08:01:42 -07:00
nullfs nullfs: protect against user creating inconsistent state 2021-04-09 07:52:05 +03:00
procfs
pseudofs pseudofs: limit writes to 1M 2021-04-23 14:14:09 +03:00
smbfs
tmpfs
udf
unionfs