fsync/close the output device before we reports stats and exit.
Since Linux device writes go through the buffer cache, it was "finishing" before all the data made it to disk. This led us to exit with success when there might still be disk errors. It also led to reporting really great performance numbers!
Showing with 26 additions and 3 deletions