diff options
author | Matias Bjørling <mb@lightnvm.io> | 2018-10-09 13:11:37 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-10-09 16:25:06 +0200 |
commit | afdc23c91e085c56d1b0c119563c202b07255599 (patch) | |
tree | b6fb38867f5f5872cf67787b62daefff795f829c /drivers/connector | |
parent | lightnvm: move bad block and chunk state logic to core (diff) | |
download | linux-afdc23c91e085c56d1b0c119563c202b07255599.tar.xz linux-afdc23c91e085c56d1b0c119563c202b07255599.zip |
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 <mb@lightnvm.io>
Reviewed-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/connector')
0 files changed, 0 insertions, 0 deletions