Re: LUN Reset TMF and R2T

2009-07-29 Thread Hannes Reinecke
Steven Hayter wrote: On 28/07/2009 06:14 pm, Mike Christie wrote: On 07/28/2009 06:53 AM, Hannes Reinecke wrote: Hi all, when my device-reset testcase I've come across this: Jul 28 12:46:08 tyne kernel: session1: iscsi_eh_device_reset LU Reset [sc 8800731e9480 lun 6] Jul 28

LUN Reset TMF and R2T

2009-07-28 Thread Hannes Reinecke
Hi all, when my device-reset testcase I've come across this: Jul 28 12:46:08 tyne kernel: session1: iscsi_eh_device_reset LU Reset [sc 8800731e9480 lun 6] Jul 28 12:46:08 tyne kernel: session1: iscsi_exec_task_mgmt_fn tmf set timeout Jul 28 12:46:08 tyne kernel: session1: mgmtpdu [op

Re: LUN Reset TMF and R2T

2009-07-28 Thread Mike Christie
Mike Christie wrote: The nasty problem with the code and this scenario is that we preallcoate the tasks and itts. Once iscsi_eh_device_reset returns SUCCESS and cleans up the tasks, the scsi layer can start sending us commands. We could then allocate a task/itt that was used before and