[Bug 236466] [sendfile]: panic when VOP_READ returns an error

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 11 18:08:17 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236466

--- Comment #1 from Conrad Meyer <cem at freebsd.org> ---
Interestingly, only one other location in tree asserts VM_PAGER_OK, and that's
when we're swapping a *kernel* stack back into memory (vm_thread_swapin). 
Panic probably makes sense for that case — and putting swap on a network
filesystem (or FUSE) probably doesn't make sense anyway.  If your swap disk
EIOs the kernel stack, at least that thread is hosed.  You might be able to
zombie it and limp the system along (Linux approach) but maybe not, either.

Obviously, sendfile(2) is not an appropriate place to assert on the success of
vm_pager_get_pages.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list