OSDN Git Service

Add a postinstall script for GC on F2FS
authorDaniel Rosenberg <drosen@google.com>
Thu, 14 Feb 2019 00:24:25 +0000 (16:24 -0800)
committerDaniel Rosenberg <drosen@google.com>
Fri, 1 Mar 2019 02:27:22 +0000 (18:27 -0800)
commit987de58738e3c3d48af9c68c7fb7b0b4e505183b
tree27dd9be4872f240a570ae2347484a51c9d32732d
parentac80c040c19219aa802ee7560de5f8546bb7d1e0
Add a postinstall script for GC on F2FS

This script is intended to run on F2FS checkpointing devices.
It triggers garbage collection for a period of time to make
mounting with checkpoint=disable smoother.

Test: Set this script as a postinstall script on vendor
Bug: 123367711
Change-Id: I87e143a2004da5852654688c3c8773510b7073ae
checkpoint_gc/Android.bp [new file with mode: 0644]
checkpoint_gc/checkpoint_gc.sh [new file with mode: 0644]