[PATCH 1/1] nvme: don't ignore tagset allocation failures
Keith Busch
keith.busch at intel.com
Wed Mar 29 16:10:30 PDT 2017
On Wed, Mar 29, 2017 at 08:42:33PM +0300, Sagi Grimberg wrote:
>
> > Not having a tagset doesn't mean we can't go live; it just means we can't
> > do IO, but the admin handle is still up for device management.
>
> So don't queue ns scanning...
And what about the sysfs rescan or namespace notify async event? We have
to fence those off too, so doing it in one place sounds better than
three.
> > Also, nvme_queue_scan can be triggered from places outside nvme pci's control,
> > so I think Max's patch is an appropriate place to check.
>
> How is that not racy?
The tagset can only be allocated while the controller is not "LIVE", so
that satisfies synchronizing this resource.
More information about the Linux-nvme
mailing list