Re: [PATCH 1/2] tcmu: delay freeing the device resources until after deletion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux