diff options
author | Javier González <javier@cnexlabs.com> | 2016-03-03 14:47:53 -0700 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-03-03 14:47:53 -0700 |
commit | afb18e0ed862fae05aa41be278c1ddb87473c7b1 (patch) | |
tree | 2c95318aed1cb4532cf078bdfe0fded9affdd4cb /virt | |
parent | lightnvm: remove struct nvm_dev->total_blocks (diff) | |
download | linux-dev-afb18e0ed862fae05aa41be278c1ddb87473c7b1.tar.xz linux-dev-afb18e0ed862fae05aa41be278c1ddb87473c7b1.zip |
lightnvm: generalize rrpc ppa calculations
In rrpc, some calculations assume a certain configuration (e.g., 1 LUN,
1 sector per page). The reason behind this was that LightNVM used a
simple configuration with QEMU to test core features in the beginning.
This patch relaxes these assumptions and generalizes calculation,
allowing multiple luns to be used.
Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions