Skip to content

image: Improve store locking#33755

Merged
cpuguy83 merged 1 commit into
moby:masterfrom
aaronlehmann:imagestore-locking
Jun 21, 2017
Merged

image: Improve store locking#33755
cpuguy83 merged 1 commit into
moby:masterfrom
aaronlehmann:imagestore-locking

Conversation

@aaronlehmann

Copy link
Copy Markdown

This showed up in a recent profile.

Search doesn't need to take a lock on the store, because digestset has
its own locking.

Some other methods can get by with a read lock instead of an exclusive
lock.

cc @cpuguy83 @tonistiigi @dmcgowan

This showed up in a recent profile.

Search doesn't need to take a lock on the store, because digestset has
its own locking.

Some other methods can get by with a read lock instead of an exclusive
lock.

Signed-off-by: Aaron Lehmann <[email protected]>
@tonistiigi

Copy link
Copy Markdown
Member

LGTM

@cpuguy83 cpuguy83 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants