commit | 510fd8ea98fcb586c01aef93d87c060a159ac30a | [log] [tgz] |
---|---|---|
author | Heiner Litz <hlitz@ucsc.edu> | Fri Jun 21 11:11:59 2019 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Jun 21 03:14:29 2019 -0600 |
tree | f0f7c4d09c4c953296321dd66547c3fdddfa8da0 | |
parent | 474a280036e8d319ef852f1dec59bedf4eda0107 [diff] |
lightnvm: pblk: fix freeing of merged pages bio_add_pc_page() may merge pages when a bio is padded due to a flush. Fix iteration over the bio to free the correct pages in case of a merge. Signed-off-by: Heiner Litz <hlitz@ucsc.edu> Reviewed-by: Javier González <javier@javigon.com> Signed-off-by: Matias Bjørling <mb@lightnvm.io> Signed-off-by: Jens Axboe <axboe@kernel.dk>