]> asedeno.scripts.mit.edu Git - linux.git/commit
lightnvm: pblk: do not log recovery read errors
authorJavier González <javier@cnexlabs.com>
Fri, 5 Jan 2018 13:16:16 +0000 (14:16 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 5 Jan 2018 15:50:12 +0000 (08:50 -0700)
commit8f554597e00abe04fd1f37c351b38aff33c37fc9
tree08bc72eadc985c710bede032ddd69f47be41a564
parent5d201f07204893c02ef85d562bfcc71299f06f60
lightnvm: pblk: do not log recovery read errors

On scan recovery, reads can fail. This happens because the first page
for each line is read in order to determined if the line has been used
(and thus needs to be recovered), or not. This can lead to "empty page"
read errors.

Since these errors are normal, do not log them, as they are confusing
when reviewing the logs.

Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/lightnvm/pblk-core.c
drivers/lightnvm/pblk.h