linux/drivers/scsi/isci
Dan Williams 1077a57410 isci: fix incorrect assumptions about task->dev and task->dev->port being NULL
A domain_device has the same lifetime as its related scsi_target.  The
scsi_target is reference counted based on outstanding commands,
therefore it is safe to assume that if we have a valid sas_task that the
->dev pointer is also valid.

The asd_sas_port of a domain_device has the same lifetime as the driver
so it can also never be NULL as long as the sas_task is valid and the
driver is loaded.

This also cleans up isci_task_complete_for_upper_layer(), renames it to
isci_task_refuse() and notices that the isci_completion_selection
parameter was set to isci_perform_normal_io_completion by all callers.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2011-07-03 03:55:30 -07:00
..
core isci: pad stp and smp request sizes 2011-07-03 03:55:29 -07:00
firmware isci: Intel(R) C600 Series Chipset Storage Control Unit Driver 2011-07-02 22:56:22 -07:00
events.c isci: replace isci_remote_device completion with event queue 2011-07-03 03:55:29 -07:00
events.h isci: rework timer api 2011-07-03 03:55:28 -07:00
host.c isci: Any reset indicated on an I/O completion escalates it to the error path. 2011-07-03 03:55:29 -07:00
host.h isci: Changes in isci_host_completion_routine 2011-07-03 03:55:29 -07:00
init.c isci: add "isci_id" attribute 2011-07-03 03:55:30 -07:00
isci.h isci: cleanup debug leftovers in isci.h 2011-07-03 03:55:29 -07:00
Makefile isci: Removing deprecated functions 2011-07-03 03:55:28 -07:00
phy.c isci: Adding support for phy enable and disable 2011-07-03 03:55:29 -07:00
phy.h isci: Intel(R) C600 Series Chipset Storage Control Unit Driver 2011-07-02 22:56:22 -07:00
port.c isci: replace remote_device_lock with scic_lock 2011-07-03 03:55:29 -07:00
port.h isci: replace remote_device_lock with scic_lock 2011-07-03 03:55:29 -07:00
remote_device.c isci: All pending requests are terminated before stopping the device. 2011-07-03 03:55:30 -07:00
remote_device.h isci: preallocate remote devices 2011-07-03 03:55:29 -07:00
request.c isci: Always set response/status for requests going into the error path. 2011-07-03 03:55:30 -07:00
request.h isci: Termination handling cleanup, added termination timeouts. 2011-07-03 03:55:30 -07:00
sata.c isci: remove sci_device_handle 2011-07-03 03:55:29 -07:00
sata.h isci: Intel(R) C600 Series Chipset Storage Control Unit Driver 2011-07-02 22:56:22 -07:00
sci_environment.h isci: clean up remaining silicon revision ifdefs in phy init 2011-07-03 03:55:28 -07:00
task.c isci: fix incorrect assumptions about task->dev and task->dev->port being NULL 2011-07-03 03:55:30 -07:00
task.h isci: Always set response/status for requests going into the error path. 2011-07-03 03:55:30 -07:00
timers.c isci: rework timer api 2011-07-03 03:55:28 -07:00
timers.h isci: rework timer api 2011-07-03 03:55:28 -07:00