projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
engines/libaio: don't reap on EAGAIN and no pending events
[fio.git]
/
filesetup.c
diff --git
a/filesetup.c
b/filesetup.c
index 29a76c0c3f5a52d60d18cb9775ec8b99bc603a1a..43146ba7671f61216fa938380c4bab908cd44b20 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-898,7
+898,7
@@
int setup_files(struct thread_data *td)
}
}
- if (!o->size ||
o->size > total_size
)
+ if (!o->size ||
(total_size && o->size > total_size)
)
o->size = total_size;
if (o->size < td_min_bs(td)) {