From owner-cvs-src-old@FreeBSD.ORG Wed Sep 15 10:31:50 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47E5F1065695 for ; Wed, 15 Sep 2010 10:31:50 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 36E8A8FC12 for ; Wed, 15 Sep 2010 10:31:50 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o8FAVooE064337 for ; Wed, 15 Sep 2010 10:31:50 GMT (envelope-from avg@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o8FAVoUZ064336 for cvs-src-old@freebsd.org; Wed, 15 Sep 2010 10:31:50 GMT (envelope-from avg@repoman.freebsd.org) Message-Id: <201009151031.o8FAVoUZ064336@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to avg@repoman.freebsd.org using -f From: Andriy Gapon Date: Wed, 15 Sep 2010 10:31:27 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_vnops.c src/sys/fs/tmpfs tmpfs_vnops.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2010 10:31:50 -0000 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 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