]> git.baikalelectronics.ru Git - kernel.git/commit
lightnvm: pblk: check read lba on gc path
authorJavier González <javier@javigon.com>
Fri, 1 Jun 2018 13:04:17 +0000 (15:04 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 1 Jun 2018 13:43:53 +0000 (07:43 -0600)
commit0f8978d3139e39b995888e4beb64a2bd4a0346a6
tree3b073778d28dfb4d1a8ecdbf6ca8ff0b1dc5e39e
parentaaff2b694857da64aa463401e125bafcab53a90b
lightnvm: pblk: check read lba on gc path

Check that the lba stored in the LBA metadata is correct in the GC path
too. This requires a new helper function to check random reads in the
vector read.

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/lightnvm/pblk-read.c