]> git.baikalelectronics.ru Git - kernel.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)
commit0848dc3c9da7f0e8caa33a1be8fc393c48950299
tree08bc72eadc985c710bede032ddd69f47be41a564
parent6efeca0935dba3913218a06b5e0540a3a98b7a45
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