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)
commit03a34b2d25a4ca6ba691312feaa0b4d3cb3fd63d
tree4abfea666f4e21fbe57482a13fe902c484ed41e0
parent310df58229f69382c0c4c9e9003790b71b8a7a55
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