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 08:25:06 -0600 |
commit | afdc23c91e085c56d1b0c119563c202b07255599 (patch) | |
tree | b6fb38867f5f5872cf67787b62daefff795f829c /mm/slab_common.c | |
parent | aff3fb18f957de93e629c7d3d2c4ef1f360aa511 (diff) | |
download | linux-afdc23c91e085c56d1b0c119563c202b07255599.tar.bz2 |
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 'mm/slab_common.c')
0 files changed, 0 insertions, 0 deletions