axboe / fio

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

FIO continues to issue flush (DDIR_SYNC) commands while there is already an outstanding flush command. #1750

Closed celestinechen closed 2 months ago

celestinechen commented 2 months ago

FIO continues to issue flush (DDIR_SYNC) commands while there is already an outstanding flush command.

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