RE: [Open-FCoE] [PATCH 1/1] libfc: fix queue command rport checks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

Mike Christie wrote:
> So I thought it if we could do the cleanup in some callout after the 
> target is removed but before the rport is freed. I think I 
> meant to do 
> this in the dev_loss_tmo_callbk(). qla2xxx was allocating its 
> own rport 
> struct and is freeing it in dev_loss_tmo_callbk(). For fcoe 
> we are just 
> using the scsi_transport_fc rport it the dd_data, but I was 
> thinking if 
> we needed to cleanup some other rport resrouces we could do 
> it from the 
> dev_loss_tmo_callbk().

yep - the callback is when the rport struct is really done with, so
this seems right.

-- 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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux