From: David Jander Date: Tue, 23 Jun 2015 09:43:52 +0000 (+0200) Subject: mmc: core: Optimize case for exactly one erase-group budget X-Git-Tag: omap-for-v4.3/fixes-rc1~60^2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=642c28ab86f7666d2ac62a0dc391b4c3121f1d6e;p=pandora-kernel.git 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 Signed-off-by: Ulf Hansson --- Reading git-diff-tree failed