Date: Wed, 03 Apr 2019 02:30:15 +0000 From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 233783] [fusefs] returns cached truncated data Message-ID: <bug-233783-3630-81XVPHN8NJ@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-233783-3630@https.bugs.freebsd.org/bugzilla/> References: <bug-233783-3630@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233783 --- Comment #4 from commit-hook@freebsd.org --- A commit references this bug: Author: asomers Date: Wed Apr 3 02:29:56 UTC 2019 New revision: 345823 URL: https://svnweb.freebsd.org/changeset/base/345823 Log: fusefs: during ftruncate, discard cached data past truncation point During truncate, fusefs was discarding entire cached blocks, but it wasn't zeroing out the unused portion of a final partial block. This resulted in reads returning stale data. PR: 233783 Reported by: fsx Sponsored by: The FreeBSD Foundation Changes: projects/fuse2/sys/fs/fuse/fuse_node.c projects/fuse2/tests/sys/fs/fusefs/setattr.cc --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233783-3630-81XVPHN8NJ>