]> git.baikalelectronics.ru Git - kernel.git/commit
lightnvm: move responsibility for bad blk mgmt to target
authorMatias Bjørling <m@bjorling.me>
Fri, 6 May 2016 18:03:08 +0000 (20:03 +0200)
committerJens Axboe <axboe@fb.com>
Fri, 6 May 2016 18:51:10 +0000 (12:51 -0600)
commit74c4a4f2e4c0d80de6581002209b29054135ebfa
treea2b6b098163bdeaf048f32a446301c99d1f025d2
parent1f6d031de58292a527be3608a8416088e6ca59af
lightnvm: move responsibility for bad blk mgmt to target

We move the responsibility of managing the persistent bad block table to
the target. The target may choose to mark a block bad or retry writing
to it. Never the less, it should be the target that makes the decision
and not the media manager.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/gennvm.c