]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
bsg: add sg_io_v4 structure
authorFUJITA Tomonori <tomof@acm.org>
Wed, 20 Dec 2006 10:19:32 +0000 (11:19 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 16 Jul 2007 06:52:44 +0000 (08:52 +0200)
commit45977d0e87ac988d04fccfb89221727aaf8d78a4
treef3020ef3f6562e77ae8d70c43f175d713a98da6c
parent337ad41deae1b56e56731246322a93251df86e79
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 <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
include/linux/bsg.h