Mike Christie wrote:
Hi FC driver developers,
I am trying to figure out what is the correct behavior when setting
dev_loss_tmo.
With lpfc, qla2xx, and ibmfc if I set dev_loss_tmo using
/sys/class/fc_remote_port/rport-xx/dev_loss_tmo, and then we add devices
the slave_configure functions for these drivers reset the dev_loss_tmo
to a driver value.
The addition of devs could be from something like a user rescan, or from
a scan started by a remote port addition.
Looking at lpfc - this is a totally insane thing to do, and definitely a bug.
Addition or removal of sdevs should not change a rport setting.
With fcoe, fnic, mptfc, bfa and zfcp the dev_loss_tmo value set from
sysfs will not be reset by a driver value on rescans.
Which drivers should be changed?
lpfc, qla2xx, and ibmfc.
-- james s
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html