Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 642c28ab authored by David Jander's avatar David Jander Committed by Ulf Hansson
Browse files

mmc: core: Optimize case for exactly one erase-group budget



In the (not so unlikely) case that the mmc controller timeout budget is
enough for exactly one erase-group, the simplification of allowing one
sector has an enormous performance penalty. We optimize this special case
by introducing a flag that prohibits erase-group boundary crossing, so
that we can allow trimming more than one sector at a time.

Signed-off-by: default avatarDavid Jander <david@protonic.nl>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 2c6625cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment