Page MenuHomeFreeBSD

Don't convert all lower-layer errors to EIO.
ClosedPublic

Authored by imp on Feb 19 2020, 3:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 11, 8:25 AM
Unknown Object (File)
Sun, Dec 8, 10:21 PM
Unknown Object (File)
Oct 18 2024, 4:05 AM
Unknown Object (File)
Oct 3 2024, 1:33 PM
Unknown Object (File)
Oct 3 2024, 10:16 AM
Unknown Object (File)
Oct 1 2024, 4:52 PM
Unknown Object (File)
Sep 30 2024, 7:00 PM
Unknown Object (File)
Sep 23 2024, 7:54 PM
Subscribers
None

Details

Summary

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.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/vm/vnode_pager.c
632 ↗(On Diff #68530)

Perhaps assert that error != 0, there and in other chunk.

assert error != 0 when B_ERROR flagged

This revision is now accepted and ready to land.Feb 20 2020, 12:34 AM
This revision was automatically updated to reflect the committed changes.