Re: [PATCH] lightnvm: put block back to gc list on its reclaim fail

2015-12-29 Thread Matias Bjørling
On 12/29/2015 09:27 AM, Wenwei Tao wrote: We delete a block from the gc list before reclaim it, so put it back to the list on its reclaim fail, otherwize this block will not get reclaimed and be programable in the future. Signed-off-by: Wenwei Tao --- drivers/lightnvm/rrpc.c | 18

[PATCH] lightnvm: put block back to gc list on its reclaim fail

2015-12-29 Thread Wenwei Tao
We delete a block from the gc list before reclaim it, so put it back to the list on its reclaim fail, otherwize this block will not get reclaimed and be programable in the future. Signed-off-by: Wenwei Tao --- drivers/lightnvm/rrpc.c | 18 ++ 1 file changed, 14 insertions(+), 4 d