projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix fill_device with queue depth higher than 1
[fio.git]
/
fio.c
diff --git
a/fio.c
b/fio.c
index 34956e9f101ead149ee430d3b64b6c6ba52304d2..5ea1a2c32fc3d44edda83d910c8d11f8015cc1c9 100644
(file)
--- a/
fio.c
+++ b/
fio.c
@@
-760,8
+760,11
@@
sync_done:
struct fio_file *f;
i = td->cur_depth;
- if (i)
+ if (i)
{
ret = io_u_queued_complete(td, i, NULL);
+ if (td->o.fill_device && td->error == ENOSPC)
+ td->error = 0;
+ }
if (should_fsync(td) && td->o.end_fsync) {
td_set_runstate(td, TD_FSYNCING);