diff options
author | Javier González <jg@lightnvm.io> | 2016-11-28 22:39:01 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-11-29 12:12:51 -0700 |
commit | 0e5c3246dbb96b6870634e7d51b2490f05c976cf (patch) | |
tree | 3e1005bd6eabd736841b6c9e95cf555558bc58d2 /fs/sysfs | |
parent | 7e4f64a9b3004ce592f21653c3b7781628862232 (diff) |
lightnvm: make address conversion functions global
Targets are assumed to used the same generic ppa format, where the
address is partitioned on ch:lun:block:pg:pl:sec. Thus, make the
function in charge of transforming the ppa address from a linear format
to the generic one available to all targets.
This function will be needed by the media manager in order to do target
mapping translations when targets are divided on different physical
partitions.
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 'fs/sysfs')
0 files changed, 0 insertions, 0 deletions