diff options
| author | Matias Bjørling <[email protected]> | 2018-10-09 13:11:37 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2018-10-09 08:25:06 -0600 |
| commit | afdc23c91e085c56d1b0c119563c202b07255599 (patch) | |
| tree | b6fb38867f5f5872cf67787b62daefff795f829c /tools/perf/scripts/python/sctop.py | |
| parent | aff3fb18f957de93e629c7d3d2c4ef1f360aa511 (diff) | |
lightnvm: pblk: unify vector max req constants
Both NVM_MAX_VLBA and PBLK_MAX_REQ_ADDRS define how many LBAs that
are available in a vector command. pblk uses them interchangeably
in its implementation. Use NVM_MAX_VLBA as the main one and remove
usages of PBLK_MAX_REQ_ADDRS.
Also remove the power representation that only has one user, and
instead calculate it at runtime.
Signed-off-by: Matias Bjørling <[email protected]>
Reviewed-by: Javier González <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions