diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-06-19 11:54:51 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-25 22:50:59 +0400 |
commit | b1d6769333496b05818fe6cec72ef7f7504ef9e4 (patch) | |
tree | 3146a237abac196af8b893f55d8ab7809069a49e /drivers/scsi/be2iscsi | |
parent | e9bd7e1a2d34de3b0991c81080d56dc408110833 (diff) | |
download | linux-b1d6769333496b05818fe6cec72ef7f7504ef9e4.tar.xz |
uas: keep track of command state, finish scsi cmd when really done.
Set state bits after submitting data urbs & command urbs, so we know
what is in flight. Clear data bits when the data urb is finished, clear
command bit when we see the status urb for the command. Finish the scsi
command after running both status and data completion handlers for the
command.
Add a cmd status logging function for debugging purposes. Hook it into
the error handler, so we see in the log what status a command is in
which the scsi layer wants cancel.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/be2iscsi')
0 files changed, 0 insertions, 0 deletions