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)
commitbc38bf106c967389a465d926be22c7371abba69d
tree069d23dcff9160559d66d7ebfcf9b522b9bba093
parent3a5a39276d2a32b05b1ee25b384516805b17cf87
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