Whamcloud - gitweb
- purge the write cache before truncate stomps on the local i_size so that we
authorzab <zab>
Tue, 11 Mar 2003 02:34:52 +0000 (02:34 +0000)
committerzab <zab>
Tue, 11 Mar 2003 02:34:52 +0000 (02:34 +0000)
commit62c07eabb8b495e2a34b00ad1925189677c8cecf
tree782ec845e73115ab0ea7bc493aadf039903ed60a
parent8278a92ec669b8109434440f5e71d4ec4bb893cf
- purge the write cache before truncate stomps on the local i_size so that we
  don't zero-extend the file when truncate's lock acquisition purges the
  writeback after having updated the i_size.  I'm not sure how 2.5 will do this,
  but it probably needs to.
lustre/llite/iod.c