projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
aioring: remove qd > 1 restriction
[fio.git]
/
engines
/
aioring.c
diff --git
a/engines/aioring.c
b/engines/aioring.c
index e434387c6bd43e8a60010fc0015c4d15721b5ca4..1598cc129a6078eee0e77159be28c15bc928ef07 100644
(file)
--- a/
engines/aioring.c
+++ b/
engines/aioring.c
@@
-483,10
+483,8
@@
static int fio_aioring_init(struct thread_data *td)
{
struct aioring_data *ld;
- if (td->o.iodepth <= 1) {
- printf("aio-ring: needs a minimum QD of 2\n");
- return 1;
- }
+ /* ring needs an extra entry, add one to achieve QD set */
+ td->o.iodepth++;
ld = calloc(1, sizeof(*ld));