Unverified Commit 2aaa19d9 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!4510 ubi: fastmap: Optimize ubi wl algorithm to improve flash service life

Merge Pull Request from: @ci-robot 
 
PR sync from: Zhihao Cheng <chengzhihao1@huawei.com>
https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/KQK22WSAGEOXCMTZ57FEX22CJSSNMNS6/ 
Christophe JAILLET (1):
  ubi: fastmap: Use the bitmap API to allocate bitmaps

Jilin Yuan (1):
  ubi: Fix repeated words in comments

Yang Li (1):
  ubi: Simplify bool conversion

Zhihao Cheng (13):
  ubi: fastmap: Check wl_pool for free peb before wear leveling
  ubi: fastmap: Fix missed ec updating after erasing old fastmap data
    block
  ubi: fastmap: erase_block: Get erase counter from wl_entry rather than
    flash
  ubi: fastmap: Allocate memory with GFP_NOFS in ubi_update_fastmap
  ubi: Replace erase_block() with sync_erase()
  ubi: fastmap: Use free pebs reserved for bad block handling
  ubi: fastmap: Wait until there are enough free PEBs before filling
    pools
  ubi: fastmap: Remove unneeded break condition while filling pools
  ubi: fastmap: may_reserve_for_fm: Don't reserve PEB if fm_anchor
    exists
  ubi: fastmap: Get wl PEB even ec beyonds the 'max' if free PEBs are
    run out
  ubi: fastmap: Fix lapsed wear leveling for first 64 PEBs
  ubi: fastmap: Add module parameter to control reserving filling pool
    PEBs
  ubi: fastmap: Add control in 'UBI_IOCATT' ioctl to reserve PEBs for
    filling pools


-- 
2.31.1
 
https://gitee.com/openeuler/kernel/issues/I9195H 
 
Link:https://gitee.com/openeuler/kernel/pulls/4510

 

Reviewed-by: default avatarzhangyi (F) <yi.zhang@huawei.com>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parents c6bcd162 6bb4e95c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment