- dprint(FD_FILE, "truncate file %s, size %llu\n", f->file_name,
+ /*
+ * The size will be -1ULL when fill_device is used, so don't truncate
+ * or fallocate this file, just write it
+ */
+ if (!td->o.fill_device) {
+ dprint(FD_FILE, "truncate file %s, size %llu\n", f->file_name,