]> git.hungrycats.org Git - linux/commit
[PATCH] user data -> request mapping
authorJens Axboe <axboe@suse.de>
Thu, 11 Mar 2004 23:56:40 +0000 (15:56 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 11 Mar 2004 23:56:40 +0000 (15:56 -0800)
commit637b48c8306137e805970b07f7dec37eea9d6bb8
tree639e5d13b7cf3416db15f5cc9d042377039d14d9
parent95902cd810f918b61eb9177dfe09a413253d84ff
[PATCH] user data -> request mapping

This patch allows you to map a request with user data for io, similarly
to what you can do with bio_map_user() already to a bio. However, this
goes one step further and populates the request so the user only has to
fill in the cdb (almost) and put it on the queue for execution. Patch
converts sg_io() to use it, next patch I'll send adapts cdrom layer to
use it for zero copy cdda dma extraction.
drivers/block/ll_rw_blk.c
drivers/block/scsi_ioctl.c
include/linux/blkdev.h