4b84b4cc mm April 26, 2021, 1:05 a.m.
- fix copyright in module/os/freebsd/spl/spl_acl.c
- fix mismerge in non-processed module/os/linux/zfs/zfs_uio.c

MFC after:      3 days
Obtained from:  OpenZFS
aad78046 rmacklem April 26, 2021, 12:57 a.m.
After a vnode is recycled it can no longer be
acquired via vfs_hash_get() and, as such,
a delegation for the vnode cannot be recalled.

In the unlikely event that a delegation still
exists when the vnode is being recycled, return
the delegation since it will no longer be

Until you have this patch in your NFSv4 client,
you should consider avoiding the use of delegations.

MFC after:	2 weeks
d55bf492 emaste April 25, 2021, 9:17 p.m.
This reverts commit 77c2fe20df6a9a7c1a353e1a4ab2ba80fefab881.

The VMware Workstation issue was fixed in 2019[1], and we'd rather not
carry unnecessary local changes in OpenSSH.

[1] https://communities.vmware.com/t5/VMware-Workstation-Pro/Regression-ssh-results-in-broken-pipe-upon-connecting-in-Vmware/m-p/486105/highlight/true#M25470

PR:		234426
Discussed with:	yuripv
Approved by:	des
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
02695ea8 rmacklem April 25, 2021, 7:55 p.m.
Without this patch, if a NFSv4 server recalled a
delegation when the file is not open, the renew
thread would block in the NFS VOP_INACTIVE()
trying to acquire the client state lock that it
already holds.

This patch fixes the problem by delaying the
vrele() call until after the client state
lock is released.

This bug has been in the NFSv4 client for
a long time, but since it only affects
delegation when recalled due to another
client opening the file, it got missed
during previous testing.

Until you have this patch in your client,
you should avoid the use of delegations.

MFC after:	2 weeks
7d222ce3 melifaro April 21, 2021, 4:53 a.m.
Reported by:	jbeich
PR:		255390
8e491aae rwatson April 25, 2021, 2:22 p.m.
MFC after:	1 week
Reviewed by:	jeff, jrtc27, kevans, bcr (manpages)
Differential revision:	https://reviews.freebsd.org/D27803
5d1d844a trasz April 25, 2021, 1:13 p.m.
This makes this API match other kern_xxxat() functions.

Reviewed By:	kib
Sponsored By:	EPSRC
Differential Revision:	https://reviews.freebsd.org/D29776
b68e6569 trasz April 25, 2021, 12:41 p.m.
Previously it depended on sysctl, which itself has no dependencies,
so rcorder(8) had a bit too much flexibility when choosing when to run
it.  Make sure it runs just between 'fsck' and 'root'.

Reviewed By:	jmg, imp
Sponsored By:	EPSRC
Differential Revision:	https://reviews.freebsd.org/D29748
67372fb3 melifaro April 21, 2021, 1:49 a.m.
Submitted by:	jbeich
PR:		255389
c2338561 melifaro April 25, 2021, 8:58 a.m.
MFC after:	1 day
a81e2e78 melifaro April 25, 2021, 8:44 a.m.
6409e594 se April 25, 2021, 8:15 a.m.
Correctly declare function without arguments as f(void) instead of f().
8ea90135 se April 25, 2021, 6:42 a.m.
usr.bin/bc: update to version 4.0.1

This update adds a flush() of the output buffer to the bc print command.
bd136720 se April 25, 2021, 6:36 a.m.
6993187a melifaro April 24, 2021, 11:22 p.m.
Option `FIB_ALGO` gates new modular fib lookup functionality,
 enabling more performant routing table lookups and improving
 control plane convergence under the load.

Detailed feature description is available in D27401.

Reviewed By: olivier, gnn
Differential Revision: https://reviews.freebsd.org/D28434