diff options
author | 2008-05-21 15:54:04 -0500 | |
---|---|---|
committer | 2008-07-12 08:22:18 -0500 | |
commit | 0af967f5d4f2dd1e00618d34ac988037d37a6c3b (patch) | |
tree | 08297980d1b6dab820d22c12c7fe1c54602f2486 /include/scsi/scsi_transport_iscsi.h | |
parent | [SCSI] iser: fix handling of scsi cmnds during recovery. (diff) | |
download | linux-dev-0af967f5d4f2dd1e00618d34ac988037d37a6c3b.tar.xz linux-dev-0af967f5d4f2dd1e00618d34ac988037d37a6c3b.zip |
[SCSI] libiscsi, iscsi_tcp, iser: add session cmds array accessor
Currently to get a ctask from the session cmd array, you have to
know to use the itt modifier. To make this easier on LLDs and
so in the future we can easilly kill the session array and use
the host shared map instead, this patch adds a nice wrapper
to strip the itt into a session->cmds index and return a ctask.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include/scsi/scsi_transport_iscsi.h')
0 files changed, 0 insertions, 0 deletions