Re: Implement iSCSI dev_loss_tmo

2011-07-11 Thread Mike Christie
On 07/09/2011 03:00 PM, Vivek S wrote:
> Hi,
> 
> In the TODO list newly added to the open-iscsi repo, kernel item 2 says
> that the dev_loss_tmo handler needs to be made common.
> Does this mean that we need to move this into the scsi layer by adding
> it to scsi_transport_template structure instead of
> iscsi_cls_session structure (patch submitted at thread
> http://groups.google.com/group/open-iscsi/msg/031510ab4cecccfd?dmode=source
> indicates so) ?
> 

Exactly. So we want to add a callback function similar to how their is a
callback function for the scanning (scsi_host_template->user_scan).

We probably then want to think of a way to have the transport class or
some common code (maybe in scsi_lib.c) add a sysfs file (dev_loss_tmo)
to the transport object that the new callback is managing.

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.



Implement iSCSI dev_loss_tmo

2011-07-09 Thread Vivek S
Hi,

In the TODO list newly added to the open-iscsi repo, kernel item 2 says that 
the dev_loss_tmo handler needs to be made common.
Does this mean that we need to move this into the scsi layer by adding it to 
scsi_transport_template structure instead of 
iscsi_cls_session structure (patch submitted at thread
http://groups.google.com/group/open-iscsi/msg/031510ab4cecccfd?dmode=source 
indicates so) ?

Kindly correct me if I am wrong.

Thank you


-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/open-iscsi/-/4GePheqY-GIJ.
To post to this group, send email to open-iscsi@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.