Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit df46b9a4 authored by Mike Christie 's avatar Mike Christie Committed by Jens Axboe
Browse files

[PATCH] Add blk_rq_map_kern()


Add blk_rq_map_kern which takes a kernel buffer and maps it into
a request and bio. This can be used by the dm hw_handlers, old
sg_scsi_ioctl, and one day scsi special requests so all requests
comming into scsi will have bios. All requests having bios
should allow scsi to use scatter lists for all IO and allow it
to use block layer functions.

Signed-off-by: default avatarJens Axboe <axboe@suse.de>
parent 8b22c249
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