From 659424767f62f46c429eb66bf46b3e836e3bc0ad Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 2 Jun 2008 10:37:36 +0200 Subject: [PATCH] Don't make posix_fallocate() set td->verror It's supposed to be an error log, not stop the job. Signed-off-by: Jens Axboe --- filesetup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filesetup.c b/filesetup.c index d7fbfc3d..746b3cda 100644 --- 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) - 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]); -- 2.25.1