projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fio: enable overlap checking with offload submission
[fio.git]
/
ioengines.c
diff --git
a/ioengines.c
b/ioengines.c
index ba02952b1f0f8d0c8ae9bebe31e091a0302046aa..47f606a75409c9a2679443ad02ba7f818e6f6ed4 100644
(file)
--- a/
ioengines.c
+++ b/
ioengines.c
@@
-288,6
+288,8
@@
enum fio_q_status td_io_queue(struct thread_data *td, struct io_u *io_u)
assert((io_u->flags & IO_U_F_FLIGHT) == 0);
io_u_set(td, io_u, IO_U_F_FLIGHT);
+ if (td->o.serialize_overlap && td->o.io_submit_mode == IO_MODE_OFFLOAD)
+ pthread_mutex_unlock(&overlap_check);
assert(fio_file_open(io_u->file));