block: ensure that completion error gets properly traced
commit797a455d2c682476c3797dbfecf5bf84c1e3b9d3
authorJens Axboe <jaxboe@fusionio.com>
Mon, 10 Jan 2011 08:06:44 +0000 (10 09:06 +0100)
committerJens Axboe <jaxboe@fusionio.com>
Mon, 10 Jan 2011 08:06:44 +0000 (10 09:06 +0100)
tree3e5c4af8661e67841610820c40163093c739bb86
parent23036f1a340beec19cc451ba9719526c4ffb3a57
block: ensure that completion error gets properly traced

We normally just use the BIO_UPTODATE flag to signal 0/-EIO. If
we have more information available, we should pass that along to
the trace output.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
kernel/trace/blktrace.c