James Bottomley 7cedb1f17f SG: work with the SCSI fixed maximum allocations.
SCSI sg table allocation has a maximum size (of SCSI_MAX_SG_SEGMENTS,
currently 128) and this will cause a BUG_ON() in SCSI if something
tries an allocation over it.  This patch adds a size limit to the
chaining allocator to allow the specification of the maximum
allocation size for chaining, so we always chain in units of the
maximum SCSI allocation size.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2008-01-28 10:54:49 +01:00
..
2007-10-18 14:37:32 -07:00
2007-10-19 11:53:41 -07:00
2008-01-25 21:08:34 +01:00
2008-01-24 20:40:05 -08:00
2007-10-19 11:53:41 -07:00
2007-10-17 08:42:52 -07:00
2007-10-22 21:19:58 +02:00