commit | 6a0382d628649b8880a7ecd7fdc215fee14a3b34 | [log] [tgz] |
---|---|---|
author | Robert Carr <racarr@google.com> | Thu Jul 01 15:57:17 2021 -0700 |
committer | Robert Carr <racarr@google.com> | Thu Jul 01 16:09:48 2021 -0700 |
tree | b58cb9924c452d40cea3deefda36f185dd669ec6 | |
parent | 06c3b63812ae498dbb30e3e276ce4dd1591c3f6c [diff] |
Optimize mirror layer management We currently have to traverse the whole hierarchy twice to update mirror layer info. While a long term rearchitecture may avoid this entirely, we can optimize the hotpath by avoiding both traversals when there are no mirror layers in existence. Bug: 186200583 Test: Existing tests pass Change-Id: I63f1fb239aa51e6db4fb1f4cb3cd3a87113d35d9