aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJavier González <javier@cnexlabs.com>2016-03-03 14:47:53 -0700
committerJens Axboe <axboe@fb.com>2016-03-03 14:47:53 -0700
commitafb18e0ed862fae05aa41be278c1ddb87473c7b1 (patch)
tree2c95318aed1cb4532cf078bdfe0fded9affdd4cb /tools
parentlightnvm: remove struct nvm_dev->total_blocks (diff)
downloadlinux-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 'tools')
0 files changed, 0 insertions, 0 deletions