Skip to content
Commit 79eb63e9 authored by Boaz Harrosh's avatar Boaz Harrosh Committed by Jens Axboe
Browse files

block: Add blk_make_request(), takes bio, returns a request



New block API:
given a struct bio allocates a new request. This is the parallel of
generic_make_request for BLOCK_PC commands users.

The passed bio may be a chained-bio. The bio is bounced if needed
inside the call to this member.

This is in the effort of un-exporting blk_rq_append_bio().

Signed-off-by: default avatarBoaz Harrosh <bharrosh@panasas.com>
CC: Jeff Garzik <jeff@garzik.org>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent bc38bf10
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