--- a/fs_mark.c.orig 2011-03-22 17:04:52.194716633 +0100 +++ b/fs_mark.c 2011-03-22 17:06:11.910716645 +0100 @@ -1353,6 +1353,11 @@ int main(int argc, char **argv, char **e print_iteration_stats(log_file_fp, &iteration_stats, files_written); loops_done++; + /* + * Flush dirty data to avoid interaction between unlink / log + * file handling and the next iteration + */ + sync(); } while (do_fill_fs || (loop_count > loops_done));