diff options
author | Zhihao Cheng <chengzhihao1@huawei.com> | 2022-05-10 20:31:25 +0800 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2022-05-27 16:49:07 +0200 |
commit | 14072ee33d5a2a07d735b667205f99d0a95de9f2 (patch) | |
tree | 029651d653978cf6f28c767f4f43a2b4a29b25f6 /fs/jffs2 | |
parent | d09e9a2bddba6c48e0fddb16c4383172ac593251 (diff) |
ubi: fastmap: Check wl_pool for free peb before wear leveling
UBI fetches free peb from wl_pool during wear leveling, so UBI should
check wl_pool's empty status before wear leveling. Otherwise, UBI will
miss wear leveling chances when free pebs are run out.
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/jffs2')
0 files changed, 0 insertions, 0 deletions