GFS2: Fix cache coherency between truncate and O_DIRECT read
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 10 Jun 2009 08:09:40 +0000 (09:09 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 10 Jun 2009 08:09:40 +0000 (09:09 +0100)
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: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>

No differences found