freebsd-src/sys
Konstantin Belousov 27006229f7 vinvalbuf: do not panic if we were unable to flush dirty buffers
Return EBUSY instead and let caller to handle the issue.

For vgone()/vnode reclamation, caller first does vinvalbuf(V_SAVE),
which return EBUSY in case dirty buffers where not flushed. Then caller
calls vinvalbuf(0) due to non-zero return, which gets rid of all dirty
buffers without dependencies.

PR:	238565
Reviewed by:	asomers, mckusick
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D30555
2021-05-31 01:20:53 +03:00
..
amd64 x86: initialize initial FPU state earlier 2021-05-28 21:38:32 +03:00
arm arm: RPI-B: Add ext_resources driver 2021-05-24 12:53:00 +02:00
arm64 linux: deduplicate DUMMY() entries 2021-05-29 17:51:36 +00:00
bsm
cam cam_sim: style: sort includes 2021-05-25 09:56:56 -06:00
cddl
compat linux: deduplicate DUMMY() entries 2021-05-29 17:51:36 +00:00
conf cxgbe(4): Update firmwares to 1.25.6.0. 2021-05-29 01:00:20 -07:00
contrib VFS_QUOTACTL(9): allow implementation to indicate busy state changes 2021-05-30 14:53:47 -07:00
crypto ossl: Use crypto_cursor_segment(). 2021-05-25 16:59:19 -07:00
ddb
dev cxgbe(4): Update firmwares to 1.25.6.0. 2021-05-29 01:00:20 -07:00
dts
fs VFS_QUOTACTL(9): allow implementation to indicate busy state changes 2021-05-30 14:53:47 -07:00
gdb
geom
gnu
i386 x86: initialize initial FPU state earlier 2021-05-28 21:38:32 +03:00
isa
kern vinvalbuf: do not panic if we were unable to flush dirty buffers 2021-05-31 01:20:53 +03:00
kgssapi
libkern
mips [mips/broadcom] set sysctl "hw.model" by SoC ChipCommon ID 2021-05-28 23:35:37 +03:00
modules cxgbe(4): Update firmwares to 1.25.6.0. 2021-05-29 01:00:20 -07:00
net
net80211
netgraph [netflow] fix gateway reporting in ng_netflow 2021-05-30 10:12:49 +00:00
netinet libalias: Fix nameing and initialization of a constant 2021-05-30 15:47:29 +02:00
netinet6
netipsec
netpfil pf: Move nvlist conversion functions to pf_nv 2021-05-26 13:18:47 +02:00
netsmb netsmb: Avoid a read-after-free in smb_t2_request_int() 2021-05-26 10:45:40 -04:00
nfs
nfsclient
nfsserver
nlm
ofed OFED: migrate LinuxKPI net_device/ifnet macros into ofed 2021-05-27 12:26:01 +00:00
opencrypto cryptosoft: Use crypto_cursor_segment(). 2021-05-25 16:59:19 -07:00
powerpc Wrap the default SPE config in its own #define 2021-05-29 21:53:26 -05:00
riscv arm64, riscv: remove reference to fsu_intr_fault 2021-05-25 12:26:52 -03:00
rpc rpcsec_gss: Use a designated initializer for rpc_gss_ops 2021-05-26 10:45:40 -04:00
security
sys VFS_QUOTACTL(9): allow implementation to indicate busy state changes 2021-05-30 14:53:47 -07:00
teken
tests
tools
ufs VFS_QUOTACTL(9): allow implementation to indicate busy state changes 2021-05-30 14:53:47 -07:00
vm
x86 linux: deduplicate DUMMY() entries 2021-05-29 17:51:36 +00:00
xdr
xen
Makefile