aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/lightnvm.h
diff options
context:
space:
mode:
authorJavier González <javier@cnexlabs.com>2018-01-05 14:16:13 +0100
committerJens Axboe <axboe@kernel.dk>2018-01-05 08:50:12 -0700
commita7689938ef4c8678ff78c44d11e4b0b897244714 (patch)
treef16cd144c091907dd6ba81e495f4cfbac53c80a2 /include/linux/lightnvm.h
parentlightnvm: pblk: remove pblk_gc_stop (diff)
downloadwireguard-linux-a7689938ef4c8678ff78c44d11e4b0b897244714.tar.xz
wireguard-linux-a7689938ef4c8678ff78c44d11e4b0b897244714.zip
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/lightnvm.h')
0 files changed, 0 insertions, 0 deletions