On 07/14/2015 10:00 PM, Himanshu Madhani wrote: > From: Alexei Potashnik <ale...@purestorage.com> > > If a new initiator (different WWN) shows up on the same fcport, old > initiator's session is scheduled for deletion. But there is a small > window between it being marked with QLA_SESS_DELETION_IN_PROGRESS > and qlt_unret_sess getting called when new session's commands will > keep finding old session in the fcport map. > > This patch drops cmds/tmrs if they find session in the progress of > being deleted. > > Cc: <sta...@vger.kernel.org> > Signed-off-by: Alexei Potashnik <ale...@purestorage.com> > Acked-by: Quinn Tran <quinn.t...@qlogic.com> > Signed-off-by: Himanshu Madhani <himanshu.madh...@qlogic.com> > --- Reviewed-by: Hannes Reinecke <h...@suse.com>
Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage h...@suse.de +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html