]> git.baikalelectronics.ru Git - kernel.git/commit
lightnvm: pblk: improve error msg on corrupted LBAs
authorJavier González <javier@javigon.com>
Fri, 1 Jun 2018 13:04:18 +0000 (15:04 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 1 Jun 2018 13:43:53 +0000 (07:43 -0600)
commitdc19b36bf905accef166cea2de17999c36fcb149
tree4abfea666f4e21fbe57482a13fe902c484ed41e0
parent0f8978d3139e39b995888e4beb64a2bd4a0346a6
lightnvm: pblk: improve error msg on corrupted LBAs

In the event of a mismatch between the read LBA and the metadata pointer
reported by the device, improve the error message to be able to detect
the offending physical address (PPA) mapped to the corrupted LBA.

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