diff options
author | Javier González <javier@cnexlabs.com> | 2017-10-13 15:46:45 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-10-13 17:34:57 +0300 |
commit | 8da10cce7c7f7f9f5edc77271cf6e0c45b762004 (patch) | |
tree | df5e06e0c677893b7376da4d6510e5538fe199c5 /drivers/mmc | |
parent | 8bd400204bd500bb2aea7b551f7c33bad2455340 (diff) | |
download | linux-8da10cce7c7f7f9f5edc77271cf6e0c45b762004.tar.xz |
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 'drivers/mmc')
0 files changed, 0 insertions, 0 deletions