diff options
| author | Javier González <[email protected]> | 2017-10-13 14:46:23 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2017-10-13 08:34:57 -0600 |
| commit | 7bd4d370db6090004a06deb526f0f01fa99a3f9f (patch) | |
| tree | 01cbfeca78132835d73f56f1a42c5aeb0731b287 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | a4809fee4e774fdf3296cc69c22ce6e6acef36b2 (diff) | |
lightnvm: pblk: guarantee line integrity on reads
When a line is recycled during garbage collection, reads can still be
issued to the line. If the line is freed in the middle of this process,
data corruption might occur.
This patch guarantees that lines are not freed in the middle of reads
that target them (lines). Specifically, we use the existing line
reference to decide when a line is eligible for being freed after the
recycle process.
Signed-off-by: Javier González <[email protected]>
Signed-off-by: Matias Bjørling <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions