PERFORCE change 212772 for review

John Baldwin jhb at FreeBSD.org
Wed Jun 13 20:19:19 UTC 2012


http://p4web.freebsd.org/@@212772?ac=10

Change 212772 by jhb at 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);


More information about the p4-projects mailing list