backend: cleanup overlap submission logic
authorJens Axboe <axboe@kernel.dk>
Mon, 14 Aug 2017 14:28:54 +0000 (08:28 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 14 Aug 2017 14:28:54 +0000 (08:28 -0600)
Move it into a helper, since we're calling it from two places.
Only check if depth is > 1, since the current io_u is already
accounted as one.

Signed-off-by: Jens Axboe <axboe@kernel.dk>

No differences found