Date: Fri, 11 Feb 2011 10:46:15 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_vnops.c Message-ID: <201102111046.p1BAkTfJ091031@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2011-02-11 10:46:15 UTC
FreeBSD src repository
Modified files:
sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_vnops.c
Log:
SVN rev 218550 on 2011-02-11 10:46:15Z by kib
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
Revision Changes Path
1.87 +8 -2 src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102111046.p1BAkTfJ091031>
