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)
Thu, Nov 20, 6:09 PM
Unknown Object (File)
Thu, Nov 20, 6:09 PM
Unknown Object (File)
Thu, Nov 20, 6:08 PM
Unknown Object (File)
Thu, Nov 20, 6:08 PM
Unknown Object (File)
Thu, Nov 20, 5:58 PM
Unknown Object (File)
Thu, Nov 13, 3:50 PM
Unknown Object (File)
Thu, Nov 13, 2:32 PM
Unknown Object (File)
Mon, Nov 10, 3:35 AM
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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 29491
Build 27361: arc lint + arc unit

Event Timeline

sys/vm/vnode_pager.c
632

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.