axboe / fio

Flexible I/O Tester
GNU General Public License v2.0
5.01k stars 1.23k forks source link

FIO with fsync option issues more DDIR_SYNC commands than expected #1754

Closed celestinechen closed 2 months ago

celestinechen commented 2 months ago

FIO with fsync option issues more DDIR_SYNC commands than expected

Issue and root cause

When fsync option is used, the number of flush (or DDIR_SYNC) commands issued is more than the expected number of flush commands. To elaborate:

Signed-off-by: Celestine Chen celestinechen@google.com