1ede90d504fe29d0125222816fe96692d3166424 |
|
09-May-2013 |
Ken Sumrall <ksumrall@android.com> |
am bc7d5088: vold: Have the fstrim log start and finish times in the event log * commit 'bc7d5088f7f7cbd097f99d2f6d015e2c0a73cacb': vold: Have the fstrim log start and finish times in the event log
|
bc7d5088f7f7cbd097f99d2f6d015e2c0a73cacb |
|
08-May-2013 |
Ken Sumrall <ksumrall@android.com> |
vold: Have the fstrim log start and finish times in the event log bug: 8688454 Change-Id: I5540ab27d3ade2c42ee8fd0de6fbfc1d1e19e36f
/system/vold/fstrim.c
|
924d9defc6d12f43c71daa1748f9e92c2a6e5981 |
|
02-May-2013 |
Ken Sumrall <ksumrall@android.com> |
am e78cd4f3: Grab a partial wakelock when doing fstrim * commit 'e78cd4f33d2b7969f1baca2b274740e1b53b3121': Grab a partial wakelock when doing fstrim
|
e78cd4f33d2b7969f1baca2b274740e1b53b3121 |
|
02-May-2013 |
Ken Sumrall <ksumrall@android.com> |
Grab a partial wakelock when doing fstrim Fstrim can take a while, so grab a wakelock so it finishes now, not when the user picks up the device and wakes it back up. This change does not protect against multiple calls to fstrim before the first one completes. When the first one completes, it will release the wakelock, and the device will go to sleep. However, normal usage is this will not be invoked by the framework more than once a day, so this should not be an issue. Bug: 8781133 Change-Id: I8065d1380eaf52ca8a7ca308af66fb6e86d60a66
/system/vold/fstrim.c
|
2c4b563b3dc2c5ea0a9e98fab54fee5f55a1a9f7 |
|
30-Apr-2013 |
Ken Sumrall <ksumrall@android.com> |
vold: Do not print fstrim amount if ioctl returns an error Change-Id: I8620ea67a774ead51bd6bd9b6e737bf3d634470b
/system/vold/fstrim.c
|
743a5ec96cd54bdc06234be15cdde65296357a6a |
|
23-Apr-2013 |
Ken Sumrall <ksumrall@android.com> |
vold: Perform fstrim work in a separate thread. Some devices can take up to a few minutes to do fstrim. If done in the same thread as the rest of the vold command listener, then vold is blocked from responding to any other commands until the trim is done. So create a thread to do the work, and return immediately. bug: 8688454 Change-Id: I780baae03ba7de2d3e805c3e9f103ec03be84c47
/system/vold/fstrim.c
|
b87937cdea689594a293979b30b13054e7455dee |
|
20-Mar-2013 |
Ken Sumrall <ksumrall@android.com> |
Vold: Add the fstrim subsystem to vold The fstrim subsystem implements the dotrim command, which goes through all the writable filesystems on the device, and invokes the FITRIM ioctl() on them. This marks all the unused blocks on the underlying flash device as unused, so the device performs better. Change-Id: I5fc8c2f60e0bc823f162d0f89580fb288ecb2160
/system/vold/fstrim.c
|