Re: [PATCH v3 5/6] virtio-scsi: fix various bad behavior on aborted requests
From: Paolo Bonzini
Date: Wed Jun 04 2014 - 15:05:27 EST
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-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/