Pawel Jakub Dawidek wrote:
> On Tue, Jul 22, 2008 at 04:28:45PM +0200, Pawel Jakub Dawidek wrote:
>> Hi.
>>
>> I just reproduced a problem I was chasing on FreeBSD also on
>> OpenSolaris from around 2008.01.
>>
>> Simply doing something like this:
>>
>>      write 9k of random data into 'foo' file
>>      truncate 'foo' file to 7k
>>      truncate 'foo' file to 11k
>>      read data between 7k-9k
>>
>> There should be all zeros between 7k-9k, but there is previous data.
>> It worked fine on an older ZFS versions (I'm sure it works on version 6).
>>
>> Simple test program:
> [...]
> 

Thanks for reporting this.

I've opened bug:

6728399 ftruncate(2) broken on ZFS


   -Mark

Reply via email to