Il 04/06/2014 19:29, Venkatesh Srinivas ha scritto:
Do you really want to poll the request VQs for completions if the TMF was rejected?
I wasn't sure, but bugs in this path are hard enough that I preferred the safer patch.
TMF ABORT may return FUNCTION REJECTED if the command to abort completed before the device saw the TMF ABORT message, for example. In such cases, this would unnecessarily lengthen the EH path.
The cost of virtscsi_poll_requests should be nothing compared to the delay between the timeout and the invocation of the delayed_work, no?
Paolo -- 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