Date: Wed, 13 Jun 2012 20:19:17 GMT From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 212772 for review Message-ID: <201206132019.q5DKJHb1027593@skunkworks.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@212772?ac=10 Change 212772 by jhb@jhb_jhbbsd on 2012/06/13 20:18:42 I do, in fact, need to set B_RELBUF to unwire the pages in the buffer. Affected files ... .. //depot/projects/fadvise/sys/kern/vfs_subr.c#12 edit Differences ... ==== //depot/projects/fadvise/sys/kern/vfs_subr.c#12 (text+ko) ==== @@ -1366,6 +1366,7 @@ BO_LOCK(bo); bremfree(bp); BO_UNLOCK(bo); + bp->b_flags |= B_RELBUF; bp->b_flags &= ~B_ASYNC; brelse(bp); BO_LOCK(bo);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206132019.q5DKJHb1027593>