diff options
author | Hans Holmberg <hans.holmberg@cnexlabs.com> | 2017-10-13 15:46:40 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-10-13 17:34:57 +0300 |
commit | c55861926a78bf129e06bd3372b34225f4968757 (patch) | |
tree | 13b2521d3ea7845b85e46e37dc61249b37521ec2 /drivers/lightnvm/pblk-sysfs.c | |
parent | 1edebacf8b736774d2f160512aec721f47e1f5ac (diff) | |
download | linux-c55861926a78bf129e06bd3372b34225f4968757.tar.xz |
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-sysfs.c')
0 files changed, 0 insertions, 0 deletions