diff options
author | Matias Bjørling <mb@lightnvm.io> | 2018-10-09 13:11:34 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-10-09 16:25:06 +0200 |
commit | 656e33ca3d405196f94133babc4e38454a49cb73 (patch) | |
tree | f16d906f4018ae89cf266c87f8e00666dc3f540a /drivers/lightnvm/pblk-write.c | |
parent | lightnvm: pblk: fix rqd.error return value in pblk_blk_erase_sync (diff) | |
download | linux-656e33ca3d405196f94133babc4e38454a49cb73.tar.xz linux-656e33ca3d405196f94133babc4e38454a49cb73.zip |
lightnvm: move device L2P detection to core
A 1.2 device is able to manage the logical to physical mapping
table internally or leave it to the host.
A target only supports one of those approaches, and therefore must
check on initialization. Move this check to core to avoid each target
implement the check.
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/lightnvm/pblk-write.c')
0 files changed, 0 insertions, 0 deletions