lkml.org 
[lkml]   [2004]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectXFS fsync() doesn't work under 2.4.26

Hi,

fsync() take no effect on XFS filesystem under Linux kernel 2.4.26.

Simple open-write-fsync-close test:

ltrace -t /tmp/synctest:
...
0.002144 write(3, "", 1048576) = 1048576
0.002150 write(3, "", 1048576) = 1048576
0.002154 fsync(3, 0xbfeff684, 0x00100000, 0, 0) = 0
0.015962 close(3) = 0
^^^^^^^^

(64 x 1 MB data, ~8 MB/s disk write speed)


Under 2.4.25 or on other fs working fine:
...
0.002149 write(3, "", 1048576) = 1048576
0.002744 write(3, "", 1048576) = 1048576
0.002188 fsync(3, 0xbfeff664, 0x00100000, 0, 0) = 0
8.048844 close(3) = 0
^^^^^^^^

System:
Linux 2.4.26 (gcc-3.3.3), SuSE 7.3
Asus A7N8X, Adaptec 29160 (7892A), WD Enterprise 4360
(WDE4360-1808A2)



-Sygma
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.036 / U:0.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site