linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Case-sensitive host NQN
@ 2020-02-12 12:58 Hannes Reinecke
  2020-02-12 17:35 ` Christoph Hellwig
  0 siblings, 1 reply; 7+ messages in thread
From: Hannes Reinecke @ 2020-02-12 12:58 UTC (permalink / raw)
  To: Keith Busch; +Cc: Christoph Hellwig, linux-nvme, Sagi Grimberg

Hi all,

I've stumbled across a slight weirdness for our handling of host NQNs.
We do format them like

# cat /etc/nvme/hostnqn
nqn.2014-08.org.nvmexpress:uuid:36343050-3834-584D-5138-33313030344E

as this is a UUID, one would expect that it's identical to

# cat /etc/nvme/hostnqn
nqn.2014-08.org.nvmexpress:uuid:36343050-3834-584d-5138-33313030344e

(Note the lowercase letters).
As it turns out, this is _not_ the case, causing the connection not to
be established.

Which is slightly weird, and not what one would expect.
The NVMe spec only has this vague statement
"Upon entry NVM host software may process an NVMe qualified name..."
so we would be spec-compatible when setting the fields to lowercase
when reading the nqn.

Thoughts?

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		           Kernel Storage Architect
hare@suse.de			                  +49 911 74053 688
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), GF: Felix Imendörffer

_______________________________________________
linux-nvme mailing list
linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-02-13 23:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-12 12:58 Case-sensitive host NQN Hannes Reinecke
2020-02-12 17:35 ` Christoph Hellwig
2020-02-12 17:51   ` Hannes Reinecke
2020-02-12 17:55     ` Christoph Hellwig
2020-02-12 19:20       ` Sagi Grimberg
2020-02-13 15:38       ` Hannes Reinecke
2020-02-13 23:33         ` Sagi Grimberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).