[PATCH 3/5] nvme: tighten up state check for namespace scanning
Christoph Hellwig
hch at lst.de
Wed Apr 27 00:51:33 PDT 2016
On Tue, Apr 26, 2016 at 10:40:44AM -0600, Jon Derrick wrote:
> > +
> > + if (dev->online_queues > 1)
> > + nvme_queue_scan(dev);
> > return;
> >
> Above this we do 'if (dev->online_queues < 2)'.
> Maybe we should change one or the other to make it consistent
I have another series that will replace all the checks of
dev->online_queues with a descriptive wrapper. It still needs a bit
of work, but I plan to submit it soonish after this series goes in.
More information about the Linux-nvme
mailing list