freebsd-dev/sys/cddl
Konstantin Belousov ca67168159 For UIO_NOCOPY case of reading request on zfs vnode, which has vm object
attached, activate the page after the successful read, and free the page
if read was unsuccessfull.

Freshly allocated page is not on any queue yet, and not activating (or
deactivating) the page leaves it on no queue, excluding the page from
pagedaemon scans and making the memory disappeared until the vnode
reclaimed.

Reviewed by:	avg
MFC after:	1 week
2011-02-11 10:46:15 +00:00
..
boot/zfs Forgot to commit this file. Add ZPOOL_CONFIG_IS_LOG. 2010-09-10 04:44:13 +00:00
compat/opensolaris Recommit r218169, enclosing with #ifdef _KERNEL 2011-02-01 23:12:13 +00:00
contrib/opensolaris For UIO_NOCOPY case of reading request on zfs vnode, which has vm object 2011-02-11 10:46:15 +00:00
dev cyclic xcall: use smp_no_rendevous_barrier as setup function parameter 2010-12-17 18:22:50 +00:00