Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix shutdown hang related to files deletion
This CL is moving the background tasks to "CONTINUE_ON_SHUTDOWN" shutdown semantic. If the deletion task has already started before the shutdown started, it will be executed in low IO priority. This can lead to a really slow files deletion and can cause shutdown hangs. Since there is no need to be consistent on these files cleanup, the shutdown hang can be avoided by letting the task running and not blocking the shutdown. R=lucnguyen@google.com, gab@chromium.org Bug: 1428815 Change-Id: If6c3f40cc12f277de7a7aa49cac624364857c437 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4823246 Commit-Queue: Etienne Bergeron <etienneb@chromium.org> Reviewed-by: Luc Nguyen <lucnguyen@google.com> Reviewed-by: Alexei Svitkine <asvitkine@chromium.org> Reviewed-by: Gabriel Charette <gab@chromium.org> Reviewed-by: Etienne Bergeron <etienneb@chromium.org> Cr-Commit-Position: refs/heads/main@{#1189682}
- Loading branch information