Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

system-extras: Commit

system/extras


Commit MetaInfo

Révision080d1da14881c179585656464e4e35441d5b20b6 (tree)
l'heure2019-06-09 08:18:25
Auteurandroid-build-team Robot <android-build-team-robot@goog...>
Commiterandroid-build-team Robot

Message de Log

Snap for 5645193 from fd07f4b8a90ebca747ced73f73d4ecef35b2163d to qt-qpr1-release

Change-Id: Ib72c68cecbf359f2af6fd1ae4b2f02cd32f8a39b

Change Summary

Modification

--- a/checkpoint_gc/checkpoint_gc.sh
+++ b/checkpoint_gc/checkpoint_gc.sh
@@ -39,6 +39,8 @@ if [ -z "${NAME}" ]; then
3939 exit 0
4040 fi
4141 log -pi -t checkpoint_gc Turning on GC for ${NAME}
42+read OLD_SLEEP < /sys/fs/f2fs/${NAME}/gc_urgent_sleep_time || exit 1
43+echo 50 > /sys/fs/f2fs/${NAME}/gc_urgent_sleep_time || exit 1
4244 echo 1 > /sys/fs/f2fs/${NAME}/gc_urgent || exit 1
4345
4446 read DIRTY_SEGMENTS_START < /sys/fs/f2fs/${NAME}/dirty_segments
@@ -63,6 +65,7 @@ done
6365
6466 log -pi -t checkpoint_gc Turning off GC for ${NAME}
6567 echo 0 > /sys/fs/f2fs/${NAME}/gc_urgent
68+echo ${OLD_SLEEP} > /sys/fs/f2fs/${NAME}/gc_urgent_sleep_time
6669 sync
6770
6871 print -u${STATUS_FD} "global_progress 1.0"
Afficher sur ancien navigateur de dépôt.