Re: vnode_pager_putpages errors on 6.2
On Thu, May 31, 2007 at 06:15:14PM +0200, Christoph Schug wrote: On Tue, May 29, 2007, steve wrote: Howdy! I had this issue on 4.x, which is basically, I have machines that do cgi stuff for customers, and there is a local md device that is used as a tmp. When it fills the machine logs errors vnode_pager_putpages I/O error 28.. [...] Just for the record: there's still an open discussion on the same issue in PR kern/67919 [1]. Is this issue resolved completely with this patch? Not sure yet. I'm running some machines with the patch and some without, hoping that the unpatched machines will fail and the patched ones won't. Havn't been able to reproduce the problem to conclude. But I'll let you know ... -steve [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/67919 Thanks -cs ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vnode_pager_putpages errors on 6.2
On Tue, May 29, 2007, steve wrote: Howdy! I had this issue on 4.x, which is basically, I have machines that do cgi stuff for customers, and there is a local md device that is used as a tmp. When it fills the machine logs errors vnode_pager_putpages I/O error 28.. [...] Just for the record: there's still an open discussion on the same issue in PR kern/67919 [1]. Is this issue resolved completely with this patch? [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/67919 Thanks -cs ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
vnode_pager_putpages errors on 6.2
Howdy! I had this issue on 4.x, which is basically, I have machines that do cgi stuff for customers, and there is a local md device that is used as a tmp. When it fills the machine logs errors vnode_pager_putpages I/O error 28.. and the machine is unresponsive and needs to be power cycled. There is a previous thread on this issue http://atm.tut.fi/list-archive/freebsd-stable/msg19031.html and a subsequent patch for 4.x http://atm.tut.fi/list-archive/freebsd-stable/msg19288.html that I appled to 4.x and it solved the problem. Now that I have upgraded to 6.2, the problem has recurred, but the previous patch is no longer valid. Is there something wrong with the patch/solution given, and is there a solution for 6.2? thanx - steve ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vnode_pager_putpages errors on 6.2
On 5/29/07, steve [EMAIL PROTECTED] wrote: Howdy! I had this issue on 4.x, which is basically, I have machines that do cgi stuff for customers, and there is a local md device that is used as a tmp. When it fills the machine logs errors vnode_pager_putpages I/O error 28.. and the machine is unresponsive and needs to be power cycled. There is a previous thread on this issue http://atm.tut.fi/list-archive/freebsd-stable/msg19031.html and a subsequent patch for 4.x http://atm.tut.fi/list-archive/freebsd-stable/msg19288.html that I appled to 4.x and it solved the problem. Now that I have upgraded to 6.2, the problem has recurred, but the previous patch is no longer valid. Is there something wrong with the patch/solution given, and is there a solution for 6.2? thanx - steve All the patch does is rate limit error messages to once per second and return VM_PAGER_BAD when there is an error. Constructing a similar patch for 6.2 should be trivial. -Kip ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vnode_pager_putpages errors on 6.2
Hi, Steve, steve wrote: [...] http://atm.tut.fi/list-archive/freebsd-stable/msg19288.html that I appled to 4.x and it solved the problem. Now that I have upgraded to 6.2, the problem has recurred, but the previous patch is no longer valid. Is there something wrong with the patch/solution given, and is there a solution for 6.2? In RELENG_6_2, the rate limit part of the patch was implemented in a different way. Could you please try this patch to see if it solves your problem? Cheers, -- Xin LI [EMAIL PROTECTED] http://www.delphij.net/ FreeBSD - The Power to Serve! Index: vnode_pager.c === RCS file: /home/ncvs/src/sys/vm/vnode_pager.c,v retrieving revision 1.221.2.7 diff -u -p -u -r1.221.2.7 vnode_pager.c --- vnode_pager.c 14 Oct 2006 06:04:32 - 1.221.2.7 +++ vnode_pager.c 30 May 2007 01:43:39 - @@ -1083,6 +1083,7 @@ vnode_pager_generic_putpages(vp, m, byte struct iovec aiov; int error; int ioflags; + int status; int ppscheck = 0; static struct timeval lastfail; static int curfail; @@ -1177,8 +1178,9 @@ vnode_pager_generic_putpages(vp, m, byte printf(vnode_pager_putpages: residual I/O %d at %lu\n, auio.uio_resid, (u_long)m[0]-pindex); } + status = error ? VM_PAGER_BAD : VM_PAGER_OK; for (i = 0; i ncount; i++) { - rtvals[i] = VM_PAGER_OK; + rtvals[i] = status; } return rtvals[0]; } signature.asc Description: OpenPGP digital signature