]> git.baikalelectronics.ru Git - kernel.git/commit
nvmet: Make cntlid globally unique
authorSagi Grimberg <sagi@grimberg.me>
Mon, 14 Nov 2016 12:24:21 +0000 (14:24 +0200)
committerJens Axboe <axboe@fb.com>
Wed, 22 Feb 2017 20:34:00 +0000 (13:34 -0700)
commit65d7882f333d1fe8a8154aafd3cc81e1263aab58
tree8b6de472f9c5eb8a176fcad40310f1e4181349d0
parent92d32edada10489d5be8c44a33c6a948240867cd
nvmet: Make cntlid globally unique

We usually log the cntlid which is confusing in case
we have multiple subsystems each with it's own cntlid ida.
Instead make cntlid ida globally unique and log the initial
association.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/target/core.c
drivers/nvme/target/fabrics-cmd.c
drivers/nvme/target/nvmet.h