commit | 79eb63e9e5875b84341a3a05f8e6ae9cdb4bb6f6 | [log] [tgz] |
---|---|---|
author | Boaz Harrosh <bharrosh@panasas.com> | Sun May 17 18:57:15 2009 +0300 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue May 19 12:14:56 2009 +0200 |
tree | bdadc2037c1d0f24c6c73b71ae82fdd7b907e610 | |
parent | bc38bf106c967389a465d926be22c7371abba69d [diff] |
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: Boaz Harrosh <bharrosh@panasas.com> CC: Jeff Garzik <jeff@garzik.org> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>