diff options
author | avg <avg@FreeBSD.org> | 2010-09-15 10:31:27 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2010-09-15 10:31:27 +0000 |
commit | 65a73d5f0bc196813f74ef8c29064264eb2b1b1b (patch) | |
tree | 7e2ec66a62832d2a905776b8b26f5ba5636b02fa /contrib/diff/lib/c-stack.h | |
parent | 357ed349fcc5816790eeefc4435e7a885ae60e2a (diff) | |
download | FreeBSD-src-65a73d5f0bc196813f74ef8c29064264eb2b1b1b.zip FreeBSD-src-65a73d5f0bc196813f74ef8c29064264eb2b1b1b.tar.gz |
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
Diffstat (limited to 'contrib/diff/lib/c-stack.h')
0 files changed, 0 insertions, 0 deletions