]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
lightnvm: put block back to gc list on its reclaim fail
authorWenwei Tao <ww.tao0320@gmail.com>
Tue, 12 Jan 2016 06:49:24 +0000 (07:49 +0100)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 29 Feb 2016 15:58:31 +0000 (08:58 -0700)
commit49645f6539be8dba8e4381c92938ec351eff53c4
treeaf16380b3d11df683c5efa10705f474c99ee82ad
parent074dd8e5f56d1094316f7de42b1eb1c88022b4e8
lightnvm: put block back to gc list on its reclaim fail

BugLink: http://bugs.launchpad.net/bugs/1531539
We delete a block from the gc list before reclaim it, so
put it back to the list on its reclaim fail, otherwise
this block will not get reclaimed and be programmable
in the future.

Signed-off-by: Wenwei Tao <ww.tao0320@gmail.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
(cherry picked from commit d0ca798f960ad7d86f5186fe312c131d00563eb7)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/lightnvm/rrpc.c