commit | 03e868eb8adb28e34f6e695667d230786bfdb653 | [log] [tgz] |
---|---|---|
author | Hans Holmberg <hans.holmberg@cnexlabs.com> | Fri Oct 13 14:46:42 2017 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Oct 13 08:34:57 2017 -0600 |
tree | 6776fe3c28aa2df7c06578d1db406d9fb337d444 | |
parent | d6b992f7ab6279884238d4e2babf100c0879b3d6 [diff] |
lightnvm: pblk: correct valid lba count calculation During garbage collect, lbas being written can end up being invalidated. Make sure that this is reflected in the valid lba count. Signed-off-by: Hans Holmberg <hans.holmberg@cnexlabs.com> Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@kernel.dk>