On Thu, 2010-01-14 at 16:43 -0800, Robert Love wrote:
> > @@ -2238,6 +2238,7 @@ int fcoe_reset(struct Scsi_Host *shost)
> >  {
> >       struct fc_lport *lport = shost_priv(shost);
> >       fc_lport_reset(lport);
> > +     fc_fcp_rescan(lport);
> 
> Is there any timing concern here? I don't think that fc_lport_reset()
> blocks until the lport is READY. If the host is down when
> scsi_rescan_device() is called do the rescan requests get queued?

I'm not sure but now I do see issue in calling scsi_rescan_device()
before lport is ready and done with discovering all rports, so may be
adding lun rescan to user tools(i.e. fcoeadm) will be better solution or
just let user be aware of how to use lun rescan from /sysfs for any lun
configuration changes.

        Vasu

_______________________________________________
devel mailing list
[email protected]
http://www.open-fcoe.org/mailman/listinfo/devel

Reply via email to