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, Mar 13, 9:46 PM
Unknown Object (File)
Tue, Mar 11, 9:15 PM
Unknown Object (File)
Sat, Mar 1, 2:01 PM
Unknown Object (File)
Thu, Feb 27, 6:43 PM
Unknown Object (File)
Wed, Feb 26, 2:43 PM
Unknown Object (File)
Sat, Feb 22, 2:34 PM
Unknown Object (File)
Jan 24 2025, 7:42 AM
Unknown Object (File)
Jan 21 2025, 1:23 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

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.