mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 18:42:21 +00:00
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 <[email protected]> Signed-off-by: James Bottomley <[email protected]>