On 06/08/2015 04:41 PM, Manoj Kumar wrote: > 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? That's fine with me. Thanks, Brian -- Brian King Power Linux I/O IBM Linux Technology Center -- 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