]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit476f2e9877038f2ae6e53a428c48303e3f01a2a2
tree28aaa840b2fd391d234b9930ae67fe85e6543dc7
parent9a91d95beef0864cadd9d25c7863411076255834
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