SCSI: support for allocating large scatterlists
authorJens Axboe <jens.axboe@oracle.com>
Tue, 7 Aug 2007 07:02:51 +0000 (09:02 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 16 Oct 2007 09:12:53 +0000 (11:12 +0200)
commita8474ce23a73185dd2bae4c884b1716474032d31
tree63501846b8aaef02579a868f6d5118b6a07c4a5e
parent0cde8d9510e242c73b2d68f9949cd3c456c863b4
SCSI: support for allocating large scatterlists

This is what enables large commands. If we need to allocate an
sgtable that doesn't fit in a single page, allocate several
SCSI_MAX_SG_SEGMENTS sized tables and chain them together.

SCSI defaults to large chained sg tables, if the arch supports it.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/scsi/scsi_lib.c
include/scsi/scsi.h
include/scsi/scsi_cmnd.h