projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't make posix_fallocate() set td->verror
[fio.git]
/
filesetup.c
diff --git
a/filesetup.c
b/filesetup.c
index d7fbfc3d00275fee2dc76f831c1dc84dca3d03c3..746b3cda4da05b4717ad0a551c40f907e5323368 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-72,7
+72,7
@@
static int extend_file(struct thread_data *td, struct fio_file *f)
f->real_file_size);
r = posix_fallocate(f->fd, 0, f->real_file_size);
if (r < 0)
f->real_file_size);
r = posix_fallocate(f->fd, 0, f->real_file_size);
if (r < 0)
-
td_verror(td, -r, "posix_fallocate"
);
+
log_err("fio: posix_fallocate fails: %s\n", strerror(-r)
);
b = malloc(td->o.max_bs[DDIR_WRITE]);
memset(b, 0, td->o.max_bs[DDIR_WRITE]);
b = malloc(td->o.max_bs[DDIR_WRITE]);
memset(b, 0, td->o.max_bs[DDIR_WRITE]);