isci: preallocate requests
authorDan Williams <dan.j.williams@intel.com>
Fri, 17 Jun 2011 21:18:39 +0000 (14:18 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 11:04:51 +0000 (04:04 -0700)
commitdb0562509800a2d4cb5cb14a66413c30484f165c
treed05cc34b78a8f2a6b9024b8d45e5e8e50786ee64
parent38d8879baeb61b6946052739e7c03fa79b3a57f0
isci: preallocate requests

the dma_pool interface is optimized for object_size << page_size which
is not the case with isci_request objects and the dma_pool routines show
up in the top of the profile.

The old io_request_table which tracked whether tci slots were in-flight
or not is replaced with an IREQ_ACTIVE flag per request.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/isci/host.c
drivers/scsi/isci/host.h
drivers/scsi/isci/remote_device.c
drivers/scsi/isci/request.c
drivers/scsi/isci/request.h
drivers/scsi/isci/task.c