projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e13c3b5
)
posixaio: use 'errno' for inline error
author
Jens Axboe
<axboe@fb.com>
Thu, 7 May 2015 15:52:35 +0000
(09:52 -0600)
committer
Jens Axboe
<axboe@fb.com>
Thu, 7 May 2015 15:52:35 +0000
(09:52 -0600)
aio_error() is only for when aio_*() didn't fail submitting.
Signed-off-by: Jens Axboe <axboe@fb.com>
engines/posixaio.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/posixaio.c
b/engines/posixaio.c
index 8ab88fbb1faf2821c442015f85f78e24cb1d244d..29bcc5acc809f63fc7c46972564a5e696543ef78 100644
(file)
--- a/
engines/posixaio.c
+++ b/
engines/posixaio.c
@@
-198,7
+198,7
@@
static int fio_posixaio_queue(struct thread_data *td,
}
if (ret) {
- int aio_err =
aio_error(aiocb)
;
+ int aio_err =
errno
;
/*
* At least OSX has a very low limit on the number of pending