projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
More cpu engine fixes
[fio.git]
/
memory.c
diff --git
a/memory.c
b/memory.c
index c147229e27c67d4135bfe9c64be82f8dbe8e2c46..5678350f79b2527e50f7f58bd0542fdab9e8e993 100644
(file)
--- a/
memory.c
+++ b/
memory.c
@@
-145,6
+145,9
@@
int allocate_io_mem(struct thread_data *td)
{
int ret = 0;
+ if (td->io_ops->flags & FIO_NOIO)
+ return 0;
+
if (td->o.mem_type == MEM_MALLOC)
ret = alloc_mem_malloc(td);
else if (td->o.mem_type == MEM_SHM || td->o.mem_type == MEM_SHMHUGE)