]> git.baikalelectronics.ru Git - kernel.git/commit
libosd: Use new blk_rq_map_kern
authorBoaz Harrosh <bharrosh@panasas.com>
Sun, 17 May 2009 15:56:17 +0000 (18:56 +0300)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 19 May 2009 10:14:55 +0000 (12:14 +0200)
commitfd7a8cf8df106eb270f639a59594b69de1209aa0
tree069d23dcff9160559d66d7ebfcf9b522b9bba093
parent7780781e202db88ae033f9b5e85c698dbc04aafc
libosd: Use new blk_rq_map_kern

Now that blk_rq_map_kern will append the buffer onto the
request we can use it easily for adding extra segments
(eg. attributes)

This patch is dependent on a block layer patch titled:
   [BLOCK] allow blk_rq_map_kern to append to requests

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/scsi/osd/osd_initiator.c