Commit 49bb98dc authored by Edmond Chung's avatar Edmond Chung
Browse files

IO: Move mutex from per-entry to per-transaction based.



Mutex un/lock could be expensive, especially if this is done on a
per-entry basis. Changed to lock for the entirety of one transaction. In
the future, we should check to see if there is a need to lock at all.

Bug: 186164633
Test: CTS, GCA
Signed-off-by: default avatarEdmond Chung <edmondchung@google.com>
Change-Id: I05370ede8f34ac5bfdcd6ca7cd3f5c8b18058d36
parent 057ddfad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment