On Wed, 2017-03-22 at 21:30 +0530, Sriram Popuri wrote:
I was looking at the function spdk_nvmf_session_gen_cntlid().
Looks like the cntlid is unique across all nvme subsystems.
I thought the cntlid is unique in a subsystem as per the spec. Am I
missing something here?
You're right that the specification only requires cntlid to be unique
within a subsystem. As part of an earlier effort to allocate resources
to new connections more efficiently we made the cntlid globally unique.
However, that effort didn't bear any fruit and we're now pursuing a
different, better option. The cntlid can be changed to be only unique
within a subsystem again if you or anyone wanted to create a patch.
It's not hurting anything by being globally unique, but it doesn't need
SPDK mailing list