[PATCH] Remove queue merging hooks
We have full flexibility of merging parameters now, so we can remove the hooks that define back/front/request merge strategies. Nobody is using them anymore. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
This commit is contained in:
parent
2985259b0e
commit
1aa4f24fe9
3 changed files with 12 additions and 17 deletions
|
@ -265,7 +265,7 @@ static int scsi_merge_bio(struct request *rq, struct bio *bio)
|
|||
|
||||
if (!rq->bio)
|
||||
blk_rq_bio_prep(q, rq, bio);
|
||||
else if (!q->back_merge_fn(q, rq, bio))
|
||||
else if (!ll_back_merge_fn(q, rq, bio))
|
||||
return -EINVAL;
|
||||
else {
|
||||
rq->biotail->bi_next = bio;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue