GoogleGit

commitb87937cdea689594a293979b30b13054e7455dee[log][tgz]
authorKen Sumrall <ksumrall@android.com>Tue Mar 19 21:46:39 2013 -0700
committerKen Sumrall <ksumrall@android.com>Fri Mar 22 02:19:15 2013 -0700
tree304dd438b200f766a1e8e0d18c9098447e0bb60b
parent286374f16610323722ae4a3871be4b8d4c2b0001[diff]
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
5 files changed
tree: 304dd438b200f766a1e8e0d18c9098447e0bb60b
  1. Android.mk
  2. Asec.h
  3. CleanSpec.mk
  4. CommandListener.cpp
  5. CommandListener.h
  6. Devmapper.cpp
  7. Devmapper.h
  8. DirectVolume.cpp
  9. DirectVolume.h
  10. Ext4.cpp
  11. Ext4.h
  12. Fat.cpp
  13. Fat.h
  14. Loop.cpp
  15. Loop.h
  16. NetlinkHandler.cpp
  17. NetlinkHandler.h
  18. NetlinkManager.cpp
  19. NetlinkManager.h
  20. Process.cpp
  21. Process.h
  22. ResponseCode.cpp
  23. ResponseCode.h
  24. VoldCommand.cpp
  25. VoldCommand.h
  26. VoldUtil.h
  27. Volume.cpp
  28. Volume.h
  29. VolumeManager.cpp
  30. VolumeManager.h
  31. Xwarp.cpp
  32. Xwarp.h
  33. cryptfs.c
  34. cryptfs.h
  35. fstrim.c
  36. fstrim.h
  37. hash.h
  38. main.cpp
  39. tests/
  40. vdc.c