From: Mike Christie Date: Wed, 13 May 2009 22:57:49 +0000 (-0500) Subject: [SCSI] libiscsi: add task aborted state X-Git-Tag: v2.6.31-rc1~365^2~105 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3cd5050bf8eb32ceecee129cac7c59e6f1668c4;p=pandora-kernel.git [SCSI] libiscsi: add task aborted state If a task did not complete normally due to a TMF, libiscsi will now complete the task with the state ISCSI_TASK_ABRT_TMF. Drivers like bnx2i that need to free resources if a command did not complete normally can then check the task state. If a driver does not need to send a special command if we have dropped the session then they can check for ISCSI_TASK_ABRT_SESS_RECOV. Signed-off-by: Mike Christie Signed-off-by: James Bottomley --- Reading git-diff-tree failed