Skip to content
  • Mike Christie 's avatar
    [PATCH] Add blk_rq_map_kern() · df46b9a4
    Mike Christie authored
    
    
    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>
    df46b9a4