lightnvm: do no update csecs and sos on 1.2
authorJavier González <javier@javigon.com>
Tue, 9 Oct 2018 11:12:12 +0000 (13:12 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 9 Oct 2018 14:25:08 +0000 (08:25 -0600)
commit6fd05cad5ee1290b276dd8ed90a1e019b1fa577a
tree43547d56a60bb9048936879966963ac1bba2db4c
parentd672d92d9c433c365fd6cdb4da1c02562b5f1178
lightnvm: do no update csecs and sos on 1.2

1.2 devices exposes their data and metadata size through the separate
identify command. Make sure that the NVMe LBA format does not override
these values.

Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/lightnvm.c