History log of /external/fio/engines/falloc.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
10aa136bddbaa7c845ab4eacb4a9a4a88d6657a3 02-Apr-2014 Jens Axboe <axboe@fb.com> Cleanup symbols that should be static

Run analysis on symbols not used outside of their current file,
turn them into statics.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/engines/falloc.c
0b783341927056e62ca2178c2ca74cca2c7b0100 24-Jan-2014 Jens Axboe <axboe@kernel.dk> engine: IPv6 net engine updates

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/engines/falloc.c
de8f6de97438d5664cd8765e60102b9109a273e2 27-Sep-2013 Anatol Pomozov <anatol.pomozov@gmail.com> Fix misspellings using 'codespell' tool

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/engines/falloc.c
98ffb8f3ecebed9984d1744f142eb8be10c14dbd 30-Jan-2013 Ken Raeburn <raeburn@permabit.com> Fix bugs in [v]snprintf usage

When calling snprintf, supply the full buffer size instead of
one byte less.

When using the returned length from vsnprintf for logging, don't write
more than the actual buffer size (minus one for the trailing \0), in
case the formatted string was truncated.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/engines/falloc.c
ef5f5a3a63f8b7c472f30484c520265aba6ef162 12-Dec-2012 Jens Axboe <axboe@kernel.dk> file: unify ->file_data and ->file_pos

The only real use case of ->file_pos was by the sync engine to
avoid an lseek() if the offset was already correct. The e4defrag,
falloc, and fusion-aw engine also set ->file_pos, but that looks
like a case of copy-paste, since they don't actually use it.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/engines/falloc.c
e12d2800f811cb64d376cfdaed9a1257f3fa9c99 23-Sep-2012 Dmitry Monakhov <dmonakhov@openvz.org> engine: fix error handling for e4defrag/falloc

At the time I've wrote this code i don't quite understand difference
between td->error and io_u->error. It is appeared that engine should
not have to explicitly assign td->error. Just initialize io_u->error and
backed will do proper handling.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/engines/falloc.c
cb3eb86ee2f2f9c69fb7549b7443c40469e44701 20-Sep-2012 Dmitry Monakhov <dmonakhov@openvz.org> falloc: fix return value from queue

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>
/external/fio/engines/falloc.c
e615ceafbe3962a35b7a7e06a0c8f4e2c0652c65 19-Sep-2012 Dmitry Monakhov <dmonakhov@openvz.org> ioengine: Add fallocate ioengine

IO engine that does regular fallocate to simulate data transfer
as fio ioengine.
DDIR_READ does fallocate(,mode=FALLOC_FL_KEEP_SIZE,)
DDIR_WRITE does fallocate(,mode=0) : fallocate with file extention
DDIR_TRIM does fallocate(FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE)

This engine may be useful to perform various tests:
1) Generation highly fragmentated files
2) Various fs stress testing in parallel with others io activity

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/engines/falloc.c