diff options
author | Hans Holmberg <[email protected]> | 2019-02-11 13:25:07 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2019-02-11 08:18:07 -0700 |
commit | aa8759d80a755cb32f1707b360a265f3695770ef (patch) | |
tree | 8ee70cfdce3ed0dc1c7dde25d79f32a01c45f08a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | b7fce8f79d947abbe84e577d89ded3c3d5345c23 (diff) |
lightnvm: pblk: extend line wp balance check
pblk stripes writes of minimal write size across all non-offline chunks
in a line, which means that the maximum write pointer delta should not
exceed the minimal write size.
Extend the line write pointer balance check to cover this case, and
ignore the offline chunk wps.
This will render us a warning during recovery if something unexpected
has happened to the chunk write pointers (i.e. powerloss, a spurious
chunk reset, ..).
Reported-by: Zhoujie Wu <[email protected]>
Tested-by: Zhoujie Wu <[email protected]>
Reviewed-by: Javier González <[email protected]>
Signed-off-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