From: FUJITA Tomonori Date: Wed, 20 Dec 2006 10:19:32 +0000 (+0100) Subject: bsg: add sg_io_v4 structure X-Git-Tag: v2.6.23-rc1~782^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45977d0e87ac988d04fccfb89221727aaf8d78a4;p=pandora-kernel.git bsg: add sg_io_v4 structure This patch adds sg_io_v4 structure that Doug proposed last month. There's one major change from the RFC. I dropped iovec, which needs compat stuff. The bsg code simply calls blk_rq_map_user against dout_xferp/din_xferp. So if possible, the page frames are directly mapped. If not possible, the block layer allocates new page frames and does memory copies. Signed-off-by: FUJITA Tomonori Signed-off-by: Jens Axboe --- Reading git-diff-tree failed