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
F105944582: D23755.diff
Sun, Dec 22, 10:31 PM
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
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.