diff options
author | Igor Konopko <[email protected]> | 2019-05-04 20:37:51 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2019-05-06 10:19:17 -0600 |
commit | 4ca885241950265a82e922a018b90ff8047d7aac (patch) | |
tree | 406e45bcb91aeb5f5c502e6ecbe7663d00356965 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d378561b8ec7b46402de2b649cd44ee835d2e579 (diff) |
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 <[email protected]>
Reviewed-by: Javier González <[email protected]>
Reviewed-by: Hans Holmberg <[email protected]>
Signed-off-by: Matias Bjørling <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions