On Fri, Nov 20, 2015 at 11:52:21AM +0100, Hannes Reinecke wrote: > One thing, though: I don't really agree with Barts objection that > moving to a workqueue would tie in too many resources. > Thing is, I'm not convinces that using a work queue is allocating > too many resources (we're speaking of 460 vs 240 bytes here). > Also we have to retry commands for quite some time (cite the > infamous NetApp takeover/giveback, which can take minutes). > If we were to handle that without workqueue we'd have to initiate > the retry from the end_io callback, causing a quite deep stack > recursion. Which I'm not really fond of. > > But if anyone has a better idea on how to handle retries without the > need for workqueues I'm all ears :-) I tend to agree with you, but you better warm up that discussion again on the old thread that actually has Bart on Cc. Or just resend once Martin has merged this patch, and have discussion around that version. -- 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