Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Mar 19, 2014

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

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:

init.c +5 -0
index 73ec9eb..9b0666d 100644
@@ -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;
 }