android_kernel_google_msm/Documentation/mmc
Maya Erez 2ea2bfc703 mmc: use percentage changed sectors as indication to check BKOPS need
In order to keep card endurance, it is best not to check the need for
BKOPS every time the MMC is idle.
However, the decision when to check the card need for BKOPS according
to number of changed sectors doesn't fit all cards sizes. Therefore,
the check for BKOPS need is based on percentages of changed sectors
of the card size.
In order to assure that BKOPS will be triggered again in case it was
interrupted, the accumulated number of changed sectors is cleared only
in case BKOPS was completed without interruption.

Change-Id: I598f64b652a524a431b87d103fd5890b808f11b1
Signed-off-by: Maya Erez <merez@codeaurora.org>
(cherry picked from commit e1eae988976536834759a45cf7f62e1cb2b82838)
2013-03-15 17:08:16 -07:00
..
00-INDEX mmc: documentation of mmc non-blocking request usage and design. 2011-07-21 10:34:52 -04:00
mmc-async-req.txt mmc: documentation of mmc non-blocking request usage and design. 2011-07-21 10:34:52 -04:00
mmc-dev-attrs.txt mmc: use percentage changed sectors as indication to check BKOPS need 2013-03-15 17:08:16 -07:00
mmc-dev-parts.txt mmc: boot partition ro lock support 2012-01-11 23:58:43 -05:00