[PATCH 2/3] nvmet: Make cntlid globally unique

J Freyensee james_p_freyensee at linux.intel.com
Tue Dec 6 15:23:21 PST 2016


On Tue, 2016-12-06 at 09:28 +0100, Christoph Hellwig wrote:
> On Mon, Dec 05, 2016 at 07:06:44PM +0200, Sagi Grimberg wrote:
> > 
> > 
> > > 
> > > > 
> > > > +	pr_info("creating controller %d for subsystem %s for
> > > > NQN %s.\n",
> > > > +		ctrl->cntlid, ctrl->subsys->subsysnqn, ctrl-
> > > > >hostnqn);
> > > 
> > > That's going to be a crazy long line in the dmesg log..
> > 
> > Have a better idea how to provide this information?
> 
> Not sure.  Maybe multiple lines?


pr_info("Creating controller: %d\n   in subsystem: %s\n   for host:
%s\n",
        ctrl->cntlid, ctrl->subsys->subsysnqn, ctrl->hostnqn);

????





More information about the Linux-nvme mailing list