The following changes since commit 0aae4ce7dbc93fe5770b25c76f5b6242ce398b7a:
Update file_append documentation (2014-03-17 12:55:08 -0600)
are available in the git repository at:
git://git.kernel.dk/fio.git master
for you to fetch changes up to b1bebc321e3b831d424dd49626833dd642224bd4:
Prevent file_append=1 with IO engine that can't extend files (2014-03-18
13:30:32 -0600)
----------------------------------------------------------------
Jens Axboe (1):
Prevent file_append=1 with IO engine that can't extend files
init.c | 5 +++++
1 file changed, 5 insertions(+)
---
Diff of recent changes:
diff --git a/init.c b/init.c
index 73ec9eb..9b0666d 100644
--- a/init.c
+++ b/init.c
@@ -676,6 +676,11 @@ static int fixup_options(struct thread_data *td)
if (td->o.rand_seed)
td->o.rand_repeatable = 0;
+ if ((td->io_ops->flags & FIO_NOEXTEND) && td->o.file_append) {
+ log_err("fio: can't append/extent with IO engine %s\n",
td->io_ops->name);
+ ret = 1;
+ }
+
return ret;
}
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html