summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.c
diff options
context:
space:
mode:
authorZhihao Cheng <chengzhihao1@huawei.com>2024-08-19 06:26:22 +0300
committerRichard Weinberger <richard@nod.at>2024-11-14 19:48:28 +0300
commitc4595fe394a289927077e3da561db27811919ee0 (patch)
treec1e9ec9e99406165974a2f10eb2d0320ff82bdea /lib/mpi/mpi-inline.c
parentd610020f030bec819f42de327c2bd5437d2766b3 (diff)
downloadlinux-c4595fe394a289927077e3da561db27811919ee0.tar.xz
ubi: fastmap: wl: Schedule fm_work if wear-leveling pool is empty
Since commit 14072ee33d5a ("ubi: fastmap: Check wl_pool for free peb before wear leveling"), wear_leveling_worker() won't schedule fm_work if wear-leveling pool is empty, which could temporarily disable the wear-leveling until the fastmap is updated(eg. pool becomes empty). Fix it by scheduling fm_work if wl_pool is empty during wear-leveing. Fixes: 14072ee33d5a ("ubi: fastmap: Check wl_pool for free peb before wear leveling") Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions