summaryrefslogtreecommitdiffstats
path: root/mm/thrash.c
diff options
context:
space:
mode:
authorBoaz Harrosh <bharrosh@panasas.com>2009-05-17 17:57:15 +0200
committerJens Axboe <jens.axboe@oracle.com>2009-05-19 12:14:56 +0200
commit79eb63e9e5875b84341a3a05f8e6ae9cdb4bb6f6 (patch)
treebdadc2037c1d0f24c6c73b71ae82fdd7b907e610 /mm/thrash.c
parentlibosd: Use new blk_rq_map_kern (diff)
downloadlinux-79eb63e9e5875b84341a3a05f8e6ae9cdb4bb6f6.tar.xz
linux-79eb63e9e5875b84341a3a05f8e6ae9cdb4bb6f6.zip
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>
Diffstat (limited to 'mm/thrash.c')
0 files changed, 0 insertions, 0 deletions