[PATCH 1/5] nvme-core: Make nvme_init/uninit_ctrl setup/teardown symmetric
Keith Busch
keith.busch at intel.com
Wed Oct 18 09:21:12 PDT 2017
On Wed, Oct 18, 2017 at 06:29:40PM +0300, Sagi Grimberg wrote:
> Can you explain how would I see naming clashes? I'm not sure I
> understand what you are referring to.
It's been a while since I tested this. I used to observe -EEXIST errors
setting up the kobj's from something as simple as this:
dd if=/dev/nvme0n1 of=/dev/null conv=noerror 2> /dev/null &
echo 1 > /sys/class/nvme/nvme0/device/remove
echo 1 > /sys/bus/pci/rescan
The rescan would recreate nvme0n1 that still exists from the open
handle. I'm not seeing an error today; not sure what changed, but I'm
looking into that now.
More information about the Linux-nvme
mailing list