commit | d0ca798f960ad7d86f5186fe312c131d00563eb7 | [log] [tgz] |
---|---|---|
author | Wenwei Tao <ww.tao0320@gmail.com> | Tue Jan 12 07:49:24 2016 +0100 |
committer | Jens Axboe <axboe@fb.com> | Tue Jan 12 08:21:16 2016 -0700 |
tree | 2900e3849549171ec2914539c7ebb9a3b4554db3 | |
parent | 2b11c1b24e50a26d435f1d59955f1268053623b7 [diff] |
lightnvm: put block back to gc list on its reclaim fail 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>