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)
Feb 24 2024, 11:00 AM
Unknown Object (File)
Feb 17 2024, 3:08 PM
Unknown Object (File)
Feb 15 2024, 4:15 AM
Unknown Object (File)
Jan 4 2024, 10:23 AM
Unknown Object (File)
Dec 25 2023, 3:50 AM
Unknown Object (File)
Dec 23 2023, 8:51 AM
Unknown Object (File)
Oct 5 2023, 12:20 PM
Unknown Object (File)
Sep 20 2023, 11:48 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.