Add more context to the error messages
authorJens Axboe <jens.axboe@oracle.com>
Thu, 22 Feb 2007 18:36:48 +0000 (19:36 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 22 Feb 2007 18:36:48 +0000 (19:36 +0100)
commite1161c325f7866bae879e686d1c673ca32ab09ae
treee2cac2756d9bfc28150c495673613ba765168953
parent94cd00dd6cf1cec4c593a74aabfbb79f4d80afb6
Add more context to the error messages

Errors like:

fio: pid=0, err=22/file:filesetup.c:380, error=Invalid argument

do not give a lot of clue as to what is wrong, unless you
have a matching source. So add a context relevant info
message as well.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
16 files changed:
engines/cpu.c
engines/libaio.c
engines/mmap.c
engines/net.c
engines/posixaio.c
engines/sg.c
engines/splice.c
engines/sync.c
engines/syslet-rw.c
filesetup.c
fio.c
fio.h
init.c
io_u.c
ioengines.c
memory.c