summaryrefslogtreecommitdiffstats
path: root/drivers/nvme/target/nvmet.h
diff options
context:
space:
mode:
authorSagi Grimberg <sagi@grimberg.me>2016-11-14 13:24:21 +0100
committerJens Axboe <axboe@fb.com>2017-02-22 21:34:00 +0100
commit15fbad96fc5fb1c5a0502e6a10dea671f510de3d (patch)
tree8b6de472f9c5eb8a176fcad40310f1e4181349d0 /drivers/nvme/target/nvmet.h
parentnvmet_fc: cleanup of abort flag processing in fcp_op_done (diff)
downloadlinux-15fbad96fc5fb1c5a0502e6a10dea671f510de3d.tar.xz
linux-15fbad96fc5fb1c5a0502e6a10dea671f510de3d.zip
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>
Diffstat (limited to 'drivers/nvme/target/nvmet.h')
-rw-r--r--drivers/nvme/target/nvmet.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/nvme/target/nvmet.h b/drivers/nvme/target/nvmet.h
index cc7ad06b43a7..1370eee0a3c0 100644
--- a/drivers/nvme/target/nvmet.h
+++ b/drivers/nvme/target/nvmet.h
@@ -142,7 +142,6 @@ struct nvmet_subsys {
unsigned int max_nsid;
struct list_head ctrls;
- struct ida cntlid_ida;
struct list_head hosts;
bool allow_any_host;