https://bugzilla.kernel.org/show_bug.cgi?id=200693 Bug ID: 200693 Summary: fsync() in the latest kernel (4.15.x ) Broken ???? Product: File System Version: 2.5 Kernel Version: 4.15.0-29-generic Hardware: All OS: Linux Tree: Mainline Status: NEW Severity: high Priority: P1 Component: ext4 Assignee: fs_ext4@xxxxxxxxxxxxxxxxxxxx Reporter: caron.wills@xxxxxxxxx Regression: No So this is a simple one, if I run the following code on Ubuntu 18.04 (4.15.0-29-generic ) and against Ubuntu 16.04 ( 4.4.0-87-generic) I get two different results ; The question is why? It seems that fsync may be broken in the latest kernel and may well be broken as early as 4.10 ? This has huge implications around performance sensitive applications like mysql. (Yes I know it can be turned off in mysql but thats only any good if you like your databases corrupted). 4.4.0-87-generic - # time ./fsync real 0m7.537s <----- user 0m0.000s sys 0m1.060s <----- -- You are receiving this mail because: You are watching the assignee of the bug.