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/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236466 --- Comment #1 from Conrad Meyer <cem@freebsd.org> --- Interestingly, only one other location in tree asserts VM_PAGER_OK, and tha= t's when we're swapping a *kernel* stack back into memory (vm_thread_swapin).=20 Panic probably makes sense for that case =E2=80=94 and putting swap on a ne= twork 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236466-227-9bT99OoMJM>