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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 Nov 2019 07:20:51 +0000 (08:20 +0100)
commitcdf73455471adec2886e3ec884141ee5558f3c3b
tree7717fcfe6a323aff5f0e6b06dfdebc5b20157728
parent1fb60da4d736124797f45e55a4db7e787c52f549
lightnvm: do no update csecs and sos on 1.2

[ Upstream commit 6fd05cad5ee1290b276dd8ed90a1e019b1fa577a ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/nvme/host/lightnvm.c