Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Sep 12, 2018

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit 39281024d26b5dbd4c70ce7620aeadc8933ac8c7:

Merge branch 'no-unittest-dep' of https://github.com/parallel-fs-utils/fio (2018-09-10 09:56:11 -0600)

are available in the git repository at:

git://git.kernel.dk/fio.git master

for you to fetch changes up to e8ed50bc3ce67f449714c55c3fbf2f8eb50730c2:

windows: fix the most egregious posix.c style errors (2018-09-11 16:54:39 -0600)

----------------------------------------------------------------
Jens Axboe (5):
Merge branch 'offload-flags-fix' of https://github.com/vincentkfu/fio
Add regression test for recent offload locking bug
Fio 3.10
windows: handle ERROR_NOT_READY
windows: fix the most egregious posix.c style errors

Vincent Fu (1):

      rate_submit: synchronize accesses to io_u_queue->nr
 FIO-VERSION-GEN           |   2 +-
 os/windows/posix.c        | 366 +++++++++++++++++++++++++++-------------------
 rate-submit.c             |   2 +-
 t/jobs/t0010-b7aae4ba.fio |   8 +
 4 files changed, 229 insertions(+), 149 deletions(-)
 create mode 100644 t/jobs/t0010-b7aae4ba.fio

---

Diff of recent changes:

FIO-VERSION-GEN +1 -1
index f031594..f1d25d0 100755
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 GVF=FIO-VERSION-FILE
-DEF_VER=fio-3.9
+DEF_VER=fio-3.10
 
 LF='
 '
os/windows/posix.c +219 -147

572 lines not on this page · raw message

rate-submit.c +1 -1
index 5c77a4e..2f02fe2 100644
@@ -126,7 +126,7 @@ static int io_workqueue_init_worker_fn(struct submit_worker *sw)
 	clear_io_state(td, 1);
 
 	td_set_runstate(td, TD_RUNNING);
-	td->flags |= TD_F_CHILD;
+	td->flags |= TD_F_CHILD | TD_F_NEED_LOCK;
 	td->parent = parent;
 	return 0;
 
t/jobs/t0010-b7aae4ba.fio new file +8 -0
new file mode 100644
index 0000000..0223770
@@ -0,0 +1,8 @@
+# Expected result: fio runs and completes the job
+# Buggy result: fio segfaults
+#
+[test]
+ioengine=null
+size=10g
+io_submit_mode=offload
+iodepth=16