diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2011-02-11 10:46:15 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2011-02-11 10:46:15 +0000 |
commit | ca6716815910d2a17d0ad7acfc7a6669b472a177 (patch) | |
tree | a9fbcaf582dc93b66f1025a3fd0a51f3a8f2dd4f /sys/net | |
parent | b60688be0f4601eb5420dc1d65cd89b461a5e453 (diff) | |
download | src-ca6716815910d2a17d0ad7acfc7a6669b472a177.tar.gz src-ca6716815910d2a17d0ad7acfc7a6669b472a177.zip |
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
Notes
Notes:
svn path=/head/; revision=218550
Diffstat (limited to 'sys/net')
0 files changed, 0 insertions, 0 deletions