lightnvm: pblk: ignore the smeta oob area scan
authorZhoujie Wu <zjwu@marvell.com>
Tue, 11 Dec 2018 19:16:07 +0000 (20:16 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 11 Dec 2018 19:22:33 +0000 (12:22 -0700)
commitf40a62d2674b317a263512996f9a7abbfc8178ec
tree0d3372ac97e7e34e3222f549ad79ff1ab96d998f
parentc4576aed8d85d808cd6443bda58393d525207d01
lightnvm: pblk: ignore the smeta oob area scan

The smeta area l2p mapping is empty, and actually the
recovery procedure only need to restore data sector's l2p
mapping. So ignore the smeta oob scan.

Signed-off-by: Zhoujie Wu <zjwu@marvell.com>
Reviewed-by: Javier González <javier@javigon.com>
Reviewed-by: Hans Holmberg <hans.holmberg@cnexlabs.com>
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/lightnvm/pblk-recovery.c