projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62cb17d
)
falloc: fix return value from queue
author
Dmitry Monakhov
<dmonakhov@openvz.org>
Thu, 20 Sep 2012 11:37:16 +0000
(15:37 +0400)
committer
Jens Axboe
<axboe@kernel.dk>
Thu, 20 Sep 2012 11:39:56 +0000
(13:39 +0200)
Fix mistypo which causes internal assertation failure, this engine
will always return FIO_Q_COMPLETED
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/falloc.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/falloc.c
b/engines/falloc.c
index cbb30cbf9ad215f17dd8704230a68638f5a7bbd1..4977d9e2bcd178b30c08e467a31102390322b903 100644
(file)
--- a/
engines/falloc.c
+++ b/
engines/falloc.c
@@
-91,8
+91,6
@@
static int fio_fallocate_queue(struct thread_data *td, struct io_u *io_u)
if (io_u->error)
td_verror(td, io_u->error, "xfer");
}
- if (io_u->ddir == DDIR_TRIM && !ret)
- return io_u->xfer_buflen;
if (io_u->file && ret == 0 && ddir_rw(io_u->ddir))
io_u->file->file_pos = io_u->offset + ret;