lightnvm: reduce number of nvm_id groups to one
authorMatias Bjørling <matias@cnexlabs.com>
Tue, 31 Jan 2017 12:17:15 +0000 (13:17 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 31 Jan 2017 15:32:13 +0000 (08:32 -0700)
commit19bd6fe73ca812964963aa30827cff9aae64a715
treef01107a5aaa6c09fea5d0ad2454fc9954d8e376c
parentdab8ee9e8a30620a5b5f22d6c0b3749217093803
lightnvm: reduce number of nvm_id groups to one

The number of configuration groups has been limited to one in current
code, even if there is support for up to four. With the introduction
of the open-channel SSD 1.3 specification, only a single
group is exposed onwards. Reflect this in the nvm_id structure.

Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/null_blk.c
drivers/lightnvm/core.c
drivers/nvme/host/lightnvm.c
include/linux/lightnvm.h