diff options
author | David Jander <david@protonic.nl> | 2015-06-23 11:43:52 +0200 |
---|---|---|
committer | Nitin Garg <nitin.garg@nxp.com> | 2016-01-14 10:59:30 -0600 |
commit | f85fb4c72db9d4f22e900961c12fa9c262e8a148 (patch) | |
tree | fcd845193b0f7623379b4b3ed16fec7250b3ef16 /include/linux/usb/ohci_pdriver.h | |
parent | b5982f797249abc56790112b08574483b44c26ca (diff) |
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: David Jander <david@protonic.nl>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
(cherry picked from commit 2edcf1262dd2ec79d3d3bcf7ea11216dbf2d77a7)
Diffstat (limited to 'include/linux/usb/ohci_pdriver.h')
0 files changed, 0 insertions, 0 deletions