projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix verify state for multiple files
[fio.git]
/
engines
/
rbd.c
diff --git
a/engines/rbd.c
b/engines/rbd.c
index 3688577f7404b242df88116946166a30f08dab60..8252d270b1bcb44eda6095281a413a3cb0cefdaf 100644
(file)
--- a/
engines/rbd.c
+++ b/
engines/rbd.c
@@
-8,6
+8,7
@@
#include <rbd/librbd.h>
#include "../fio.h"
#include <rbd/librbd.h>
#include "../fio.h"
+#include "../optgroup.h"
struct fio_rbd_iou {
struct io_u *io_u;
struct fio_rbd_iou {
struct io_u *io_u;
@@
-185,14
+186,14
@@
static void _fio_rbd_finish_aiocb(rbd_completion_t comp, void *data)
* a specific error. So we have to assume that it can't do
* partial completions.
*/
* a specific error. So we have to assume that it can't do
* partial completions.
*/
- fri->io_complete = 1;
-
ret = rbd_aio_get_return_value(fri->completion);
if (ret < 0) {
io_u->error = ret;
io_u->resid = io_u->xfer_buflen;
} else
io_u->error = 0;
ret = rbd_aio_get_return_value(fri->completion);
if (ret < 0) {
io_u->error = ret;
io_u->resid = io_u->xfer_buflen;
} else
io_u->error = 0;
+
+ fri->io_complete = 1;
}
static struct io_u *fio_rbd_event(struct thread_data *td, int event)
}
static struct io_u *fio_rbd_event(struct thread_data *td, int event)