Flexible I/O Tester development
 help / color / mirror / Atom feed
* [PATCH 1/2] falloc: fix return value from queue
@ 2012-09-20 11:37 Dmitry Monakhov
  2012-09-20 11:37 ` [PATCH 2/2] update documentation for falloc and e4defrag engines Dmitry Monakhov
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Monakhov @ 2012-09-20 11:37 UTC (permalink / raw)
  To: fio; +Cc: axboe, Dmitry Monakhov

Fix mistypo which causes internal assertation failure, this engine
will always return FIO_Q_COMPLETED

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
---
 engines/falloc.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/engines/falloc.c b/engines/falloc.c
index cbb30cb..4977d9e 100644
--- 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;
-- 
1.7.7.6



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-20 11:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-20 11:37 [PATCH 1/2] falloc: fix return value from queue Dmitry Monakhov
2012-09-20 11:37 ` [PATCH 2/2] update documentation for falloc and e4defrag engines Dmitry Monakhov
2012-09-20 11:48   ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox