[PATCH v2] nvme-cli: Make connect-all matching be case insensitive

Daniel Wagner dwagner at suse.de
Tue Dec 21 05:02:40 PST 2021


On Fri, 17 Dec 2021 14:20:22 -0800, James Smart wrote:
> The comparison routine that checks discovery controller traddr with a
> discovery log traddr uses a simple strncmp.  For FC, which kicks off
> connect-all requests vay systemd, the nvme-fc transport will build
> traddr strings with lower case hexadecimal.  Some FC discovery
> controllers return traddr strings with upper case hexadecimal. There
> was is no rqmt in the NVME-FC spec that it be upper or lower case.
> Given the case difference, the connect-all fails the match logic and
> doesn't connect to storage.
> 
> [...]

Applied, thanks!

[1/1] nvme-cli: Make connect-all matching be case insensitive
      commit: 1264c6323937c4a0342174fdd9be5a66ab1eaf24

Best regards,
-- 
Daniel Wagner <dwagner at suse.de>



More information about the Linux-nvme mailing list