projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8b6061
)
gluster: io_u->error should be a positive error value
author
Jens Axboe
<axboe@fb.com>
Mon, 5 Jan 2015 15:50:26 +0000
(08:50 -0700)
committer
Jens Axboe
<axboe@fb.com>
Mon, 5 Jan 2015 15:50:26 +0000
(08:50 -0700)
Signed-off-by: Jens Axboe <axboe@fb.com>
engines/glusterfs_async.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/glusterfs_async.c
b/engines/glusterfs_async.c
index 8283f8be7f6bee13c253bc84d67f4f49b2e01f5e..7c2c1398386707cd7a8f477df90561eb45bbadc3 100644
(file)
--- a/
engines/glusterfs_async.c
+++ b/
engines/glusterfs_async.c
@@
-122,7
+122,7
@@
static int fio_gf_async_queue(struct thread_data fio_unused * td,
else if (io_u->ddir == DDIR_SYNC)
r = glfs_fsync_async(g->fd, gf_async_cb, io_u);
else
- r =
-
EINVAL;
+ r = EINVAL;
if (r) {
log_err("glfs queue failed.\n");