Commit 2ca495ac authored by Keith Busch's avatar Keith Busch Committed by Jens Axboe

blk: Fix bio_io_vec index when checking bvec gaps

Corrects a coding error from earlier patch.

Reported by: Sagi Grimberg <>
Signed-off-by: default avatarKeith Busch <>
Fixes: 03100aad ("block: Replace SG_GAPS with new queue limits mask")
Signed-off-by: default avatarJens Axboe <>
parent 03100aad
......@@ -488,7 +488,7 @@ static int req_gap_to_prev(struct request *req, struct bio *next)
struct bio *prev = req->biotail;
return bvec_gap_to_prev(req->q, &prev->bi_io_vec[prev->bi_vcnt - 1],
static int ll_merge_requests_fn(struct request_queue *q, struct request *req,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment