]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't convert all lower-layer errors to EIO.
authorimp <imp@FreeBSD.org>
Thu, 20 Feb 2020 01:33:01 +0000 (01:33 +0000)
committerimp <imp@FreeBSD.org>
Thu, 20 Feb 2020 01:33:01 +0000 (01:33 +0000)
commitb143dc96e5523b8cba8578a990fab8bf66e69042
tree932f4914a484200314b8bc0cdf9e1739b0b8a542
parentf53b49ad03adfa719bce35fcfe6360ec4f3d545e
Don't convert all lower-layer errors to EIO.

Don't convert all lower layer errors to EIO. Instead, pass the actual error up
the stack. This will allow the upper layers that look for ENXIO to react
properly to that signal from the lower layers and, for UFS, unmount the
filesystem.

Reviewed by: kib@
Differential Revision:  https://reviews.freebsd.org/D23755
sys/vm/vnode_pager.c