Hello

Gorazd Golob wrote:
> 
> Vladimir,
> 
> I forgot to tell that we're using x86_64.

ok

> Kernel is:
> Linux xxxx 2.6.12.6 #6 SMP Thu Sep 15 12:29:53 CEST 2005 x86_64 Intel(R)

Did you find parameters with which the program behaves differently for a file on
ext2 and reiserfs?

> Xeon(TM) CPU 3.00GHz GenuineIntel GNU/Linux
> 
> On Tue, 11 Oct 2005, Vladimir V. Saveliev wrote:
> 
>> Hello
>>
>> Gorazd Golob wrote:
>>>
>>> ;(
>>>
>>> works ok if file is bigger than about 4000 bytes. Otherwise read failed.
>>>
>> Yes, using O_DIRECT you should care about alignment to boundary of 512
>> bytes for
>> address of buffer you read to, size of that buffer and offset in a
>> file to read
>> from.
>>
>> Please try this version of test program and let us know how to make it
>> to behave
>> differently for file in reiserfs and ext2.
>> What is version of kernel you use?
>>
> 
> 

Reply via email to