Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
3bbe90f
)
b=20645 Call vmtruncate again after truncate.
author
Eric Mei
<Eric.Mei@Sun.COM>
Tue, 15 Dec 2009 18:13:12 +0000
(11:13 -0700)
committer
Robert Read
<rread@sun.com>
Tue, 15 Dec 2009 19:17:53 +0000
(11:17 -0800)
Due to race between read and truncate, read may populate cache pages outside of the file size range, then next truncate-expand will see the stale page. To fix this, we do a second vmtruncate at the end of truncation.
r=jay
r=rread
No differences found