Re: [PATCH] qla2xxx: always allocate qla_tgt_wq

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

 



On Thu, 2019-05-09 at 15:55 -0700, Bart Van Assche wrote:
> On 5/9/19 11:58 AM, Ewan D. Milne wrote:
> > On Thu, 2019-05-09 at 07:06 -0700, Bart Van Assche wrote:
> > > On 5/9/19 6:18 AM, Hannes Reinecke wrote:
> > > > The 'qla_tgt_wq' workqueue is used for generic command aborts,
> > > > not just target-related functions. So allocate the workqueue
> > > > always to avoid a kernel crash when aborting commands.
> > > 
> > > Can the abort code be called directly? This means not queueing the abort
> > > work? Do you perhaps know why the target workqueue is used for
> > > processing aborts? In other words, can the abort functions be modified
> > > to use one of the system workqueues instead of always allocating the
> > > target workqueue?
> > 
> > How exactly is the qla_tgt_wq used for generic command aborts?
> > Do you mean initiator mode aborts from the SCSI EH calls?  Those look
> > like they issue mailbox commands to the HBA directly.
> > Or do we get frames received even if we are not using target mode or something?
> 
> Hi Ewan,
> 
> To me your questions seem like questions about the original patch. Are
> your questions perhaps intended for Hannes?
> 
> Bart.

Yes, you are correct, sorry I responded to the wrong msg in the thread.

-Ewan




[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