Open
Bug 1904941
Opened 7 days ago
Updated 6 days ago
Use DirectoryLockImpl::Prepare in quota manager initialization methods
Categories
(Core :: Storage: Quota Manager, task, P2)
Core
Storage: Quota Manager
Tracking
()
ASSIGNED
People
(Reporter: janv, Assigned: janv)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
Attachments
(2 files)
Some quota manager initialization methods need to check blocked-on locks of a newly created directory lock before DirectoryLockImpl::Acquire
is called. This leads to multiple traversals of all existing directory locks and also to allocation of a new array for directory locks. This can be avoided by calling DirectoryLockImpl::Prepare
method first, using the result for checks and then passing the result to DirectoryLockImpl::Acquire
overload.
Assignee | ||
Comment 1•6 days ago
|
||
Assignee | ||
Comment 2•6 days ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•