diff options
author | Javier González <javier@cnexlabs.com> | 2018-01-05 16:16:13 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-01-05 18:50:12 +0300 |
commit | a7689938ef4c8678ff78c44d11e4b0b897244714 (patch) | |
tree | f16cd144c091907dd6ba81e495f4cfbac53c80a2 /include/linux/mdev.h | |
parent | aed49e195af6b621d59b3e7f85aa5c5a71e90050 (diff) | |
download | linux-a7689938ef4c8678ff78c44d11e4b0b897244714.tar.xz |
lightnvm: pblk: use exact free block counter in RL
Until now, pblk's rate-limiter has used a heuristic to reserve space for
GC I/O given that the over-provision area was fixed.
In preparation for allowing to define the over-provision area on target
creation, define a dedicated free_block counter in the rate-limiter to
track the number of blocks being used for user data.
Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Hans Holmberg <hans.holmberg@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/mdev.h')
0 files changed, 0 insertions, 0 deletions