]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4cf80dfa69d4bddacaec1a6b05ba9a885ffc9521
tree43547d56a60bb9048936879966963ac1bba2db4c
parente8d71a7fef806651547346340954e44b573d99aa
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