-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor MemoryLimiter to specify tracked 'area' when reserving memory (
#1161) The memory limiter currently tracks the amount of memory reserved for prefetching. We plan to extend this as part of supporting appends in S3 Express One Zone (#1160). This change (originally authored by @monthonk) refactors the memory limiter API to allow specifying the "area" we'd like to reserve in, for the purpose of metrics for now. ### Does this change impact existing behavior? No change to existing behavior. ### Does this change need a changelog entry? No. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the [Developer Certificate of Origin (DCO)](https://developercertificate.org/). Signed-off-by: Daniel Carl Jones <djonesoa@amazon.com> Co-authored-by: Monthon Klongklaew <monthonk@amazon.com>
- Loading branch information
1 parent
4bb64e1
commit 47e1d56
Showing
3 changed files
with
48 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters