diff options
author | Javier González | 2017-10-13 14:46:45 +0200 |
---|---|---|
committer | Jens Axboe | 2017-10-13 16:34:57 +0200 |
commit | 8da10cce7c7f7f9f5edc77271cf6e0c45b762004 (patch) | |
tree | df5e06e0c677893b7376da4d6510e5538fe199c5 /include/linux/nd.h | |
parent | lightnvm: pblk: cleanup unused and static functions (diff) | |
download | kernel-qcow2-linux-8da10cce7c7f7f9f5edc77271cf6e0c45b762004.tar.gz kernel-qcow2-linux-8da10cce7c7f7f9f5edc77271cf6e0c45b762004.tar.xz kernel-qcow2-linux-8da10cce7c7f7f9f5edc77271cf6e0c45b762004.zip |
lightnvm: pblk: avoid being reported as hung on rated GC
The amount of GC I/O on the write buffer is managed by the rate-limiter,
which is calculated as a function of the number of available free
blocks. When reaching the stable point, we risk having scheduled more
I/Os for GC than are allowed on the write buffer. This would result on
the GC semaphore balancing the outstanding read GC I/Os to be reported
as "hung", though the behavior is normal.
Solve this by allowing to schedule when we detect that the read GC path
is not moving forward.
Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/nd.h')
0 files changed, 0 insertions, 0 deletions