block/dasd: detailed I/O errors
authorHannes Reinecke <hare@suse.de>
Wed, 30 Jan 2013 09:26:16 +0000 (09:26 +0000)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 1 Jul 2013 15:31:22 +0000 (17:31 +0200)
commitd1ffc1f8660e749a2683f19ee7cfdd837568b37a
treed4a054ae9e2b19072ed32599e36feb52f7fc67e0
parentf6f80340308cdcb84db45d3abf95f23d5b66051d
block/dasd: detailed I/O errors

The DASD driver is using FASTFAIL as an equivalent to the
transport errors in SCSI. And the 'steal lock' function maps
roughly to a reservation error. So we should be returning the
appropriate error codes when completing a request.

Acked-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Stefan Weinhuber <wein@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
block/blk-core.c
drivers/s390/block/dasd.c