Date: Wed, 15 Sep 2010 10:31:27 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_vnops.c src/sys/fs/tmpfs tmpfs_vnops.c Message-ID: <201009151031.o8FAVoUZ064336@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
avg 2010-09-15 10:31:27 UTC FreeBSD src repository Modified files: sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_vnops.c sys/fs/tmpfs tmpfs_vnops.c Log: SVN rev 212650 on 2010-09-15 10:31:27Z by avg tmpfs, zfs + sendfile: mark page bits as valid after populating it with data Otherwise, adding insult to injury, in addition to double-caching of data we would always copy the data into a vnode's vm object page from backend. This is specific to sendfile case only (VOP_READ with UIO_NOCOPY). PR: kern/141305 Reported by: Wiktor Niesiobedzki <bsd@vink.pl> Reviewed by: alc Tested by: tools/regression/sockets/sendfile MFC after: 2 weeks Revision Changes Path 1.71 +2 -0 src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c 1.43 +2 -0 src/sys/fs/tmpfs/tmpfs_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009151031.o8FAVoUZ064336>