summaryrefslogtreecommitdiffstats
path: root/include/linux/lightnvm.h
diff options
context:
space:
mode:
authorJavier González2017-10-13 14:46:45 +0200
committerJens Axboe2017-10-13 16:34:57 +0200
commit8da10cce7c7f7f9f5edc77271cf6e0c45b762004 (patch)
treedf5e06e0c677893b7376da4d6510e5538fe199c5 /include/linux/lightnvm.h
parentlightnvm: pblk: cleanup unused and static functions (diff)
downloadkernel-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/lightnvm.h')
0 files changed, 0 insertions, 0 deletions