Josef Bacik 6e60a3bbb4 nbd: fix -ERESTARTSYS handling
Christoph made it so that if we return'ed BLK_STS_RESOURCE whenever we
got ERESTARTSYS from sending our packets we'd return BLK_STS_OK, which
means we'd never requeue and just hang.  We really need to return the
right value from the upper layer.

Fixes: fc17b6534eb8 ("blk-mq: switch ->queue_rq return value to blk_status_t")
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2017-10-02 14:29:09 -06:00
..
2017-09-25 08:56:05 -06:00
2017-09-07 21:11:05 -07:00
2017-08-24 22:28:57 -04:00
2017-10-02 14:29:09 -06:00
2017-02-20 12:16:15 +01:00
2017-08-18 08:45:29 -06:00