concept fsync in category chaos engineering

appears as: fsync
Chaos Engineering

This is an excerpt from Manning's book Chaos Engineering.

You might have noticed that it has a bug: it tries to fsync (synchronize a file's in-core state with storage device) a file, and it gets back an error EINVAL (Invalid argument). You can now press Ctrl-C to detach strace, and print the summary, like the following one. We can also see that it does a whole lot of writes (292 to be precise), almost all of which write only a single character. More than 98% of the time is spent writing data (in bold font).