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 -0000 1.221.2.7 +++ vnode_pager.c 30 May 2007 01:43:39 -0000 @@ -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