Date: Mon, 11 Mar 2019 18:08:09 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 236466] [sendfile]: panic when VOP_READ returns an error Message-ID: <bug-236466-227-9bT99OoMJM@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-236466-227@https.bugs.freebsd.org/bugzilla/> References: <bug-236466-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236466 --- Comment #1 from Conrad Meyer <cem@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.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236466-227-9bT99OoMJM>
