On 08/12/2017 05:30 PM, Mike Christie wrote: > Userspace could still be accessing the ring and might > even still have commands it is trying to complete > (if cmd_time_out != 0, so the kernel has dropped the > cmd/ref count and made the device deletable) when a > deletion is executed. > > This moves the userspace deletion to the beginning of the > function so we know once it is done userspace is not > accessing the kernel. > Nick, drop this patch for now too. We are discussing some other issues with this code path here: https://www.spinics.net/lists/target-devel/msg15970.html -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html