Ahh, I see the mistake. All you need to fix this is to add a new function: void flushswchainbuf(struct buf *nbp) { if (nbp->b_bcount) { nbp->b_bufsize = nbp->b_bcount; if ((nbp->b_flags & B_READ) == 0) nbp->b_dirtyend = nbp->b_bcount; BUF_KERNPROC(nbp); swstrategy(nbp); } else { biodone(nbp); } } And use this instead of flushchainbuf() in swap_pager_strategy(). -- Poul-Henning Kamp FreeBSD coreteam member [EMAIL PROTECTED] "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
- Proposed patch to fix VN device (again) Matthew Dillon
- Re: Proposed patch to fix VN device (again) Poul-Henning Kamp
- Re: Proposed patch to fix VN device (again) Matthew Dillon
- Re: Proposed patch to fix VN device (again) Poul-Henning Kamp
- Re: Proposed patch to fix VN device (ag... Matthew Dillon
- Re: Proposed patch to fix VN devic... Poul-Henning Kamp
- Re: Proposed patch to fix VN d... Matthew Dillon
- Re: Proposed patch to fix ... Poul-Henning Kamp
- Re: Proposed patch to fix ... Matthew Dillon
- Re: Proposed patch to fix ... Poul-Henning Kamp
- Re: Proposed patch to fix ... Matthew Dillon
- Re: Proposed patch to fix ... Poul-Henning Kamp
- Re: Proposed patch to fix ... Matthew Dillon
- Re: Proposed patch to fix ... Poul-Henning Kamp
- Re: Proposed patch to fix ... Jordan K. Hubbard
- Re: Proposed patch to fix ... Kip Macy
- Re: Proposed patch to fix ... David Greenman
- Re: Proposed patch to fix ... Peter Wemm