]> git.karo-electronics.de Git - linux-beck.git/commit
lightnvm: transform target get/set bad block
authorJavier González <javier@cnexlabs.com>
Mon, 28 Nov 2016 21:39:14 +0000 (22:39 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 29 Nov 2016 19:12:51 +0000 (12:12 -0700)
commit333ba053d145d6f9152f6b0311a345b876f0fed1
tree5fe4cb83b1422aaa40a7ce5ff6a824fd3d323046
parentda2d7cb828ce2714c603827ac5a6e1c98a02e861
lightnvm: transform target get/set bad block

Since targets are given a virtual target device, it is necessary to
translate all communication between targets and the backend device.
Implement the translation layer for get/set bad block table.

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