]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't convert all lower-layer errors to EIO.
authorWarner Losh <imp@FreeBSD.org>
Thu, 20 Feb 2020 01:33:01 +0000 (01:33 +0000)
committerWarner Losh <imp@FreeBSD.org>
Thu, 20 Feb 2020 01:33:01 +0000 (01:33 +0000)
commitcafbf0c664f859e23d1804730c44a6ffb8c131e2
tree932f4914a484200314b8bc0cdf9e1739b0b8a542
parenta64f0b83e5ee1c9f7ac5782a3d3f9f1c7b368e41
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