Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers/bch: delay the sector flush #1587

Merged
merged 2 commits into from
Aug 18, 2020
Merged

Conversation

anchao
Copy link
Contributor

@anchao anchao commented Aug 14, 2020

Summary

  1. drivers/bch: flush the dirty sector to keep the sector sequence

flush the dirty sector to keep the sector sequence before ftl write

  1. drivers/bch: delay the sector flush

Delay the sector flush to avoid multiple earse/write operations in sequence write

Impact

MTD write/read

Testing

MTD write/read

Delay the sector flush to avoid multiple earse/write operations in sequence write

Change-Id: If4331b7fc8d2c2061325533212b28e826141b411
Signed-off-by: chao.an <anchao@xiaomi.com>
flush the dirty sector to keep the sector sequence before ftl write

Change-Id: I1096cce39965806d5c877c2929b5a2ecdab27ac9
Signed-off-by: chao.an <anchao@xiaomi.com>
@xiaoxiang781216 xiaoxiang781216 merged commit f97b843 into apache:master Aug 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants