;(
works ok if file is bigger than about 4000 bytes. Otherwise read failed.
On Tue, 11 Oct 2005, Vladimir V. Saveliev wrote:
Hello
Gorazd Golob wrote:
It doesn't work right - your example :(
Our programmers said that ssize_t type should be used instead of size_t
for rd variable..
ok, yes, I agree. But it should not change anything.
Please try new version. It works fine here. How does it behave on your side?
in code is:
size_t rd;
tnx, gorazd
On Mon, 10 Oct 2005, Vladimir V. Saveliev wrote:
Hello
Gorazd Golob wrote:
On Mon, 10 Oct 2005, Vladimir V. Saveliev wrote:
Does it work on ext2?
Yes it work on ext2, ext3, xfs ..
Are you sure that file offset is properly aligned?
Yes ..
Would you please try whether the attached program works for you?
Without O_DIRECT works fine as said in previous mails. Write with
O_DIRECT works fine. Kernel version is:
Linux xxxx 2.6.12.6 #6 SMP Thu Sep 15 12:29:53 CEST 2005 x86_64
Intel(R)
Xeon(TM) CPU 3.00GHz GenuineIntel GNU/Linux
please let me know if you need more info.
tnx, Gorazd
Or in other words is reiserfs3 supporting reading with O_DIRECT
flag?
Writing works well with 0_DIRECT on reiserfs3.
Gorazd