Skip to content
Commit 40bc9a27 authored by Steven Whitehouse's avatar Steven Whitehouse
Browse files

GFS2: Fix cache coherency between truncate and O_DIRECT read



If a page was partially zeroed as the result of a truncate, then it was
not being correctly marked dirty. This resulted in the deleted data
reappearing if the file was read back via direct I/O.

Reported-by: default avatarEric Sandeen <sandeen@redhat.com>
Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent f6d03139
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment