On 6/8/2015 12:54 PM, Brian King wrote:

+
+       rcr = send_tmf(afu, scp, TMF_LUN_RESET);
+       if (unlikely(rcr))
+               rc = FAILED;

Do you need to wait for all commands to the LUN to be returned before returning 
from
here? You could put a simple loop here, polling until there are no ops 
outstanding
to this LUN, if needed...

Brian:

Good suggestion. Would it be acceptable to add this capability in a future patch?

- Manoj

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to