Re: [PATCH 09/17] nvme: simplify nvme_open

2017-10-24 Thread Hannes Reinecke
On 10/23/2017 04:51 PM, Christoph Hellwig wrote: > Now that we are protected against lookup vs free races for the namespace > by using kref_get_unless_zero we don't need the hack of NULLing out the > disk private data during removal. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Sagi Grimbe

[PATCH 09/17] nvme: simplify nvme_open

2017-10-23 Thread Christoph Hellwig
Now that we are protected against lookup vs free races for the namespace by using kref_get_unless_zero we don't need the hack of NULLing out the disk private data during removal. Signed-off-by: Christoph Hellwig Reviewed-by: Sagi Grimberg Reviewed-by: Johannes Thumshirn --- drivers/nvme/host/c

Re: [PATCH 09/17] nvme: simplify nvme_open

2017-10-18 Thread Sagi Grimberg
Reviewed-by: Sagi Grimberg

Re: [PATCH 09/17] nvme: simplify nvme_open

2017-10-18 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG N

[PATCH 09/17] nvme: simplify nvme_open

2017-10-18 Thread Christoph Hellwig
Now that we are protected against lookup vs free races for the namespace by using kref_get_unless_zero we don't need the hack of NULLing out the disk private data during removal. Signed-off-by: Christoph Hellwig --- drivers/nvme/host/core.c | 40 ++-- 1 file c