diff options
author | Igor Konopko <igor.j.konopko@intel.com> | 2019-05-04 21:37:51 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-05-06 19:19:17 +0300 |
commit | 4ca885241950265a82e922a018b90ff8047d7aac (patch) | |
tree | 406e45bcb91aeb5f5c502e6ecbe7663d00356965 /.gitattributes | |
parent | d378561b8ec7b46402de2b649cd44ee835d2e579 (diff) | |
download | linux-4ca885241950265a82e922a018b90ff8047d7aac.tar.xz |
lightnvm: pblk: fix race during put line
In the pblk_put_line_back function, a race condition with
__pblk_map_invalidate can make a line not part of any lists.
Fix gc_list by resetting it to null fixes the above issue.
Fixes: a4bd217 ("lightnvm: physical block device (pblk) target")
Signed-off-by: Igor Konopko <igor.j.konopko@intel.com>
Reviewed-by: Javier González <javier@javigon.com>
Reviewed-by: Hans Holmberg <hans.holmberg@cnexlabs.com>
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions