• M
    [PATCH] Add blk_rq_map_kern() · df46b9a4
    Mike Christie 提交于
    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: NJens Axboe <axboe@suse.de>
    df46b9a4
blkdev.h 22.6 KB