On Tue, Dec 08, 2015 at 08:37:23AM +0100, Hannes Reinecke wrote: > The 'activate_complete' function needs to be executed after > stpg has finished, so we can as well execute stpg synchronously > and call the function directly. We could also execute that from the end_io handler. I think that was Bart's main issue. I have to admit that I'd prefer synchronous execution if possible, and with a work item only per port group and not every SCSI device I think we are fine. Otherwise looks fine to me: Reviewed-by: Christoph Hellwig <hch@xxxxxx> -- 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