projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
arch: fix build breakage on armv6 again
[fio.git]
/
fio.h
diff --git
a/fio.h
b/fio.h
index e394e165078a4fa3da53d397cae2791e8e9fe195..b3ba5db2e95ac9e16cd0633bc8912b125c08e333 100644
(file)
--- a/
fio.h
+++ b/
fio.h
@@
-772,6
+772,11
@@
static inline bool td_async_processing(struct thread_data *td)
return (td->flags & TD_F_NEED_LOCK) != 0;
}
return (td->flags & TD_F_NEED_LOCK) != 0;
}
+static inline bool td_offload_overlap(struct thread_data *td)
+{
+ return td->o.serialize_overlap && td->o.io_submit_mode == IO_MODE_OFFLOAD;
+}
+
/*
* We currently only need to do locking if we have verifier threads
* accessing our internal structures too
/*
* We currently only need to do locking if we have verifier threads
* accessing our internal structures too