Re: [PATCHv2 13/22] scsi_dh_alua: Use workqueue for RTPG

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

 



On Wed, Jan 13, 2016 at 08:13:54AM +0100, Hannes Reinecke wrote:
>> _Actually_ we only need to call flush_delayed_work if sdev ==
>> rtgp_sdev. Otherwise the workqueue item is running off a different
>> device and won't be affected.
>>
> Hmm. Well, not quite. We run into flush_delayed_work()  only if the port 
> group changes or upon bus detach.
> For all other callers rtpg_sdev() should already be NULL.
> But looking at the call sites we can indeed move the flush_delayed_work() 
> into the release function.

Looks like the earlier you made sense after all :)
--
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