diff options
author | FUJITA Tomonori <tomof@acm.org> | 2006-12-20 11:19:32 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-07-16 08:52:44 +0200 |
commit | 45977d0e87ac988d04fccfb89221727aaf8d78a4 (patch) | |
tree | f3020ef3f6562e77ae8d70c43f175d713a98da6c /block | |
parent | block: export blk_verify_command for SG v4 (diff) | |
download | linux-45977d0e87ac988d04fccfb89221727aaf8d78a4.tar.xz linux-45977d0e87ac988d04fccfb89221727aaf8d78a4.zip |
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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions