commit | df46b9a44ceb5af2ea2351ce8e28ae7bd840b00f | [log] [tgz] |
---|---|---|
author | Mike Christie <michaelc@cs.wisc.edu> | Mon Jun 20 14:04:44 2005 +0200 |
committer | Jens Axboe <axboe@suse.de> | Mon Jun 20 14:04:44 2005 +0200 |
tree | 30ab71759486f94d60af2283fc55bfffcc22155a | |
parent | 8b22c249e7de453961e4d253b19fc2a0bdd65d53 [diff] |
[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: Jens Axboe <axboe@suse.de>