Re: [PATCH 2/5] scsi: improved eh timeout handler

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

 



On Tue, Nov 05, 2013 at 11:19:27AM -0800, Mike Christie wrote:
> > +	scmd->eh_eflags |= SCSI_EH_ABORT_SCHEDULED;
> > +	SCSI_LOG_ERROR_RECOVERY(3,
> > +		scmd_printk(KERN_INFO, scmd,
> > +			    "scmd %p abort scheduled\n", scmd));
> > +	schedule_delayed_work(&scmd->abort_work, HZ / 100);
> > +	return SUCCESS;
> > +}
> 
> Do we want to use our own workqueue_struct with WQ_MEM_RECLAIM set?

That's probably required, I can think of all kinds of issues otherwise.

Not in this patch series, but in the near future it might make sense 
to convert the whole EH thread to that workqueue.
--
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