Re: [Open-FCoE] [RFC PATCH] scsi, fcoe, libfc: drop scsi host_lock use from fc_queuecommand

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

 



On 09/01/2010 06:38 PM, Mike Christie wrote:
wondering if there could be a problem where one thread completes the IO
and sets those fields to NULL, but another thread could be completing it
too and it would see a scsi_cmnd that is not released and reallocated by

There should not be a not in there. So it should be and it would see a scsi_cmnd that is released and reallocated by the other thread.

the other thread. So for example the fc_eh_abort code still grabs the
host_lock when calling CMD_SP and taking a ref and checking that the fsp
is not null.

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