nbd: complete requests from ->timeout
authorChristoph Hellwig <hch@lst.de>
Tue, 29 May 2018 13:52:31 +0000 (15:52 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 29 May 2018 14:59:21 +0000 (08:59 -0600)
commite5eab0170410184fa8c2f1ce61df36969b59b5eb
tree28aaa840b2fd391d234b9930ae67fe85e6543dc7
parentdb8c48e4b2fa7c7ad1e429fe980e787698033ee9
nbd: complete requests from ->timeout

By completing the request entirely in the driver we can remove the
BLK_EH_HANDLED return value and thus the split responsibility between the
driver and the block layer that has been causing trouble.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/nbd.c