Re: [PATCH 0/2] older SG interface fixes (for the block layer conversion)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux