summaryrefslogtreecommitdiffstats
path: root/drivers/lightnvm/pblk.h
diff options
context:
space:
mode:
authorHans Holmberg <hans.holmberg@cnexlabs.com>2017-10-13 14:46:40 +0200
committerJens Axboe <axboe@kernel.dk>2017-10-13 08:34:57 -0600
commitc55861926a78bf129e06bd3372b34225f4968757 (patch)
tree13b2521d3ea7845b85e46e37dc61249b37521ec2 /drivers/lightnvm/pblk.h
parent1edebacf8b736774d2f160512aec721f47e1f5ac (diff)
downloadop-kernel-dev-c55861926a78bf129e06bd3372b34225f4968757.zip
op-kernel-dev-c55861926a78bf129e06bd3372b34225f4968757.tar.gz
lightnvm: pblk: add l2p crc debug printouts
Print the CRC of the logical-to-physical mapping during exit and after recovering the L2P table to facilitate detection of meta data corruption/recovery issues. The CRC printed after recovery should match the CRC printed during the previous exit - if it doesn't this indicates that either the meta data written to the disk is corrupt or recovery failed. Signed-off-by: Hans Holmberg <hans.holmberg@cnexlabs.com> Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/lightnvm/pblk.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud