On Tue, Sep 02 2008, FUJITA Tomonori wrote: > I messed up the older SG interface's READ commands. > > With READ commands via the older SG interface, we don't know a > user-space address to transfer the result data when executing a SCSI > command. So we can't pass a user-space address to blk_rq_map_user. > > This changes blk_rq_map_user to takes a NULL user-space address. That > is, sg uses blk_rq_map_user to just set up a request and bios with > page frames without data transfer (similar to what scsi_req_map_sg > does for sg now). > > blk_rq_map_user doesn't map a user space address so the name, > blk_rq_map_user, might be odd but I leave it alone. Applied -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html