Messages in this thread | | | Date | Fri, 23 Apr 2004 17:41:52 +0200 (CEST) | From | Szima Gábor <> | Subject | XFS 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/
| |